|
IKVM11
11
Java SE 11 Virtual Machine for .NET
|
Public Member Functions | |||
| ReflectionEventSymbol (ReflectionSymbolContext context, ReflectionTypeSymbol type, EventInfo underlyingEvent) | |||
| Initializes a new instance. | |||
| 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.Reflection.ReflectionMemberSymbol | |||
| ReflectionMemberSymbol (ReflectionSymbolContext context, ReflectionModuleSymbol module, ReflectionTypeSymbol? type, MemberInfo underlyingMember) | |||
| Initializes a new instance. | |||
| virtual 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.
| |||
| virtual 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.
| |||
| virtual bool | IsDefined (ITypeSymbol attributeType) | ||
Indicates whether one or more instance of attributeType is defined on this member.
| |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |||
| ReflectionSymbol (ReflectionSymbolContext context) | |||
| Initializes a new instance. | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.ICustomAttributeSymbolProvider | |||
Public Member Functions inherited from IKVM.CoreLib.Symbols.IEventSymbol | |||
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.Reflection.ReflectionMemberSymbol | |
| virtual IModuleSymbol | Module [get] |
| Gets the module in which the type that declares the member represented by the current is defined. | |
| virtual ? ITypeSymbol | DeclaringType [get] |
| Gets the class that declares this member. | |
| virtual MemberTypes | MemberType [get] |
| When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. | |
| virtual int | MetadataToken [get] |
| Gets a value that identifies a metadata element. | |
| virtual string | Name [get] |
| Gets the name of the current member. | |
Properties inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
| ReflectionSymbolContext | Context [get] |
| Gets the associated ReflectionSymbolContext. | |
| virtual bool | IsMissing [get] |
Returns true if the symbol is missing. | |
Properties inherited from IKVM.CoreLib.Symbols.ISymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IMemberSymbol | |
Properties inherited from IKVM.CoreLib.Symbols.IEventSymbol | |
Additional Inherited Members | |
Protected Member Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
| virtual ReflectionMemberSymbol | ResolveMemberSymbol (MemberInfo member) |
| Resolves the symbol for the specified type. | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionMemberSymbol | |
Package Functions inherited from IKVM.CoreLib.Symbols.Reflection.ReflectionSymbol | |
Definition at line 7 of file ReflectionEventSymbol.cs.
| IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.ReflectionEventSymbol | ( | ReflectionSymbolContext | context, |
| ReflectionTypeSymbol | type, | ||
| EventInfo | underlyingEvent ) |
Initializes a new instance.
| context | |
| type | |
| underlyingEvent |
Definition at line 18 of file ReflectionEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.GetAddMethod | ( | ) |
Returns the method used to add an event handler delegate to the event source.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 48 of file ReflectionEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.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 |
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 54 of file ReflectionEventSymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.GetOtherMethods | ( | ) |
Returns the public methods that have been associated with an event in metadata using the .other directive.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 84 of file ReflectionEventSymbol.cs.
| IMethodSymbol[] IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.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 |
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 90 of file ReflectionEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.GetRaiseMethod | ( | ) |
Returns the method that is called when the event is raised.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 72 of file ReflectionEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.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 |
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 78 of file ReflectionEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.GetRemoveMethod | ( | ) |
Returns the method used to remove an event handler delegate from the event source.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 60 of file ReflectionEventSymbol.cs.
| IMethodSymbol? IKVM.CoreLib.Symbols.Reflection.ReflectionEventSymbol.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 |
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 66 of file ReflectionEventSymbol.cs.
|
get |
Returns the method used to add an event handler delegate to the event source.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 39 of file ReflectionEventSymbol.cs.
|
get |
Gets the attributes for this event.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 30 of file ReflectionEventSymbol.cs.
|
get |
Gets the object of the underlying event-handler delegate associated with this event.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 33 of file ReflectionEventSymbol.cs.
|
get |
Gets a value indicating whether the IEventSymbol has a name with a special meaning.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 36 of file ReflectionEventSymbol.cs.
|
get |
Returns the method that is called when the event is raised.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 45 of file ReflectionEventSymbol.cs.
|
get |
Returns the method used to remove an event handler delegate from the event source.
Implements IKVM.CoreLib.Symbols.IEventSymbol.
Definition at line 42 of file ReflectionEventSymbol.cs.