Open sandboxFocus

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, IHasAccessors, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IEventInvoker, 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).

Extension Methods