Interface IDotNetEvent
Model definition of a event in .net.
Inherited Members
Namespace: CodeFactory.DotNet
Assembly: CodeFactory.DotNet.dll
Syntax
public interface IDotNetEvent : IDotNetMember, IDotNetModel, IModelStatus, ISourceFiles, IDotNetAttributes, IDocumentation, IParent, ILookup
Properties
| Improve this Doc View SourceAddMethod
The method that adds a subscription to the event.
Declaration
IDotNetMethod AddMethod { get; }
Property Value
Type | Description |
---|---|
IDotNetMethod |
EventHandlerDelegate
The event handler delegate used by the event.
Declaration
IDotNetDelegate EventHandlerDelegate { get; }
Property Value
Type | Description |
---|---|
IDotNetDelegate |
EventType
The event handler type that is assigned to the event.
Declaration
IDotNetType EventType { get; }
Property Value
Type | Description |
---|---|
IDotNetType |
IsAbstract
Flag that determines if the event has been implemented as an abstract event.
Declaration
bool IsAbstract { get; }
Property Value
Type | Description |
---|---|
bool |
IsOverride
Flag that determines if the event has been overridden.
Declaration
bool IsOverride { get; }
Property Value
Type | Description |
---|---|
bool |
IsSealed
Flag that determines if the event has been sealed.
Declaration
bool IsSealed { get; }
Property Value
Type | Description |
---|---|
bool |
IsStatic
Flag that determines if the event is static.
Declaration
bool IsStatic { get; }
Property Value
Type | Description |
---|---|
bool |
IsVirtual
Flag that determines if the event is implemented as virtual.
Declaration
bool IsVirtual { get; }
Property Value
Type | Description |
---|---|
bool |
RaiseMethod
The method definition to raise the event.
Declaration
IDotNetMethod RaiseMethod { get; }
Property Value
Type | Description |
---|---|
IDotNetMethod |
RemoveMethod
The method that removes a subscription to the event.
Declaration
IDotNetMethod RemoveMethod { get; }
Property Value
Type | Description |
---|---|
IDotNetMethod |