Represent an event.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IEvent : IHasAccessors, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IHasType, IEventInvoker
Properties
Name | Description |
---|---|
AddMethod | Gets the method implementing the |
Definition | Gets the definition of the event. If the current declaration is an event of a generic type instance, this returns the event in the generic type definition. Otherwise, it returns the current instance. |
ExplicitInterfaceImplementations | Gets a list of interface events this event explicitly implements. |
OverriddenEvent | Gets the base event that is overridden by the current event. |
RaiseMethod | Gets an object that represents the |
RemoveMethod | Gets the method implementing the |
Signature | |
Type | Gets the type of the event, i.e. the type of the delegate. |
Methods
Name | Description |
---|---|
ToEventInfo() | Gets an EventInfo that represents the current event at run time. |
ToRef() |