|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Discovers the attributes of an event and provides access to event metadata. More...
Public Member Functions | |
| IMethodSymbol? | GetAddMethod () |
| Returns the method used to add an event handler delegate to the event source. | |
| IMethodSymbol? | GetAddMethod (bool nonPublic) |
| Returns the method used to add an event handler delegate to the event source, specifying whether to return non-public methods. | |
| IMethodSymbol? | GetRemoveMethod () |
| Returns the method used to remove an event handler delegate from the event source. | |
| IMethodSymbol? | GetRemoveMethod (bool nonPublic) |
| When overridden in a derived class, retrieves the IMethodSymbol object for removing a method of the event, specifying whether to return non-public methods. | |
| IMethodSymbol? | GetRaiseMethod () |
| Returns the method that is called when the event is raised. | |
| IMethodSymbol? | GetRaiseMethod (bool nonPublic) |
| When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods. | |
| IMethodSymbol[] | GetOtherMethods () |
| Returns the public methods that have been associated with an event in metadata using the .other directive. | |
| IMethodSymbol[] | GetOtherMethods (bool nonPublic) |
| Returns the methods that have been associated with the event in metadata using the .other directive, specifying whether to include non-public methods. | |
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |
| ImmutableArray< CustomAttributeSymbol > | GetCustomAttributes () |
| Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes. | |
| ImmutableArray< CustomAttributeSymbol > | GetCustomAttributes (ITypeSymbol attributeType) |
| Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type. | |
| bool | IsDefined (ITypeSymbol attributeType) |
| Indicates whether one or more instance of attributeType is defined on this member. | |
Properties | |
| EventAttributes | Attributes [get] |
| Gets the attributes for this event. | |
| ITypeSymbol? | EventHandlerType [get] |
| Gets the object of the underlying event-handler delegate associated with this event. | |
| bool | IsSpecialName [get] |
| Gets a value indicating whether the IEventSymbol has a name with a special meaning. | |
| IMethodSymbol? | AddMethod [get] |
| Returns the method used to add an event handler delegate to the event source. | |
| IMethodSymbol? | RemoveMethod [get] |
| Returns the method used to remove an event handler delegate from the event source. | |
| IMethodSymbol? | RaiseMethod [get] |
| Returns the method that is called when the event is raised. | |
Properties inherited from IKVM.CoreLib.Symbols.IMemberSymbol | |
| IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| ITypeSymbol? | DeclaringType [get] |
| Gets the class that declares this member. | |
| MemberTypes | MemberType [get] |
| When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. | |
| int | MetadataToken [get] |
| Gets a value that identifies a metadata element. | |
| string | Name [get] |
| Gets the name of the current member. | |
Properties inherited from IKVM.CoreLib.Symbols.ISymbol | |
| bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Discovers the attributes of an event and provides access to event metadata.
Definition at line 9 of file IEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.IEventSymbol.GetAddMethod | ( | ) |
Returns the method used to add an event handler delegate to the event source.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IEventSymbol.GetAddMethod | ( | bool | nonPublic | ) |
Returns the method used to add an event handler delegate to the event source, specifying whether to return non-public methods.
| nonPublic |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol[] IKVM.CoreLib.Symbols.IEventSymbol.GetOtherMethods | ( | ) |
Returns the public methods that have been associated with an event in metadata using the .other directive.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol[] IKVM.CoreLib.Symbols.IEventSymbol.GetOtherMethods | ( | bool | nonPublic | ) |
Returns the methods that have been associated with the event in metadata using the .other directive, specifying whether to include non-public methods.
| nonPublic |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IEventSymbol.GetRaiseMethod | ( | ) |
Returns the method that is called when the event is raised.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IEventSymbol.GetRaiseMethod | ( | bool | nonPublic | ) |
When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods.
| nonPublic |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IEventSymbol.GetRemoveMethod | ( | ) |
Returns the method used to remove an event handler delegate from the event source.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
| IMethodSymbol? IKVM.CoreLib.Symbols.IEventSymbol.GetRemoveMethod | ( | bool | nonPublic | ) |
When overridden in a derived class, retrieves the IMethodSymbol object for removing a method of the event, specifying whether to return non-public methods.
| nonPublic |
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
|
get |
Returns the method used to add an event handler delegate to the event source.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
Definition at line 30 of file IEventSymbol.cs.
|
get |
Gets the attributes for this event.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
Definition at line 15 of file IEventSymbol.cs.
|
get |
Gets the object of the underlying event-handler delegate associated with this event.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
Definition at line 20 of file IEventSymbol.cs.
|
get |
Gets a value indicating whether the IEventSymbol has a name with a special meaning.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
Definition at line 25 of file IEventSymbol.cs.
|
get |
Returns the method that is called when the event is raised.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
Definition at line 40 of file IEventSymbol.cs.
|
get |
Returns the method used to remove an event handler delegate from the event source.
Implemented in IKVM.CoreLib.Symbols.IkvmReflection.IkvmReflectionEventSymbol, and IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.
Definition at line 35 of file IEventSymbol.cs.