Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Declaration­Builders / IEvent­Builder

Interface IEventBuilder

Allows to complete the construction of an event that has been created by an advice.

Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface IEventBuilder : IMemberBuilder, IMemberOrNamedTypeBuilder, IDeclarationBuilder, IEvent, IMemberWithAccessors, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IHasTypeBuilder, IHasType

Properties

Name Description
AddMethod

Gets the IMethodBuilder for the event adder.

InitializerExpression
RaiseMethod

Gets the IMethodBuilder for the event raiser.

RemoveMethod

Gets the IMethodBuilder for the event remover.

Type

Gets or sets the event type (i.e. the type of the delegates handled by this event).