Interface ICsEvent
Model definition of a event in c#.
Inherited Members
Namespace: CodeFactory.WinVs.Models.CSharp
Assembly: CodeFactory.WinVs.dll
Syntax
public interface ICsEvent : ICsMember, ICsModel, IModelStatus, ISourceFiles, ICsAttributes, IDocumentation, IParent, ILookup
Properties
AddMethod
The method that adds a subscription to the event.
Declaration
CsMethod AddMethod { get; }
Property Value
Type | Description |
---|---|
CsMethod |
EventHandlerDelegate
The event handler delegate used by the event.
Declaration
CsDelegate EventHandlerDelegate { get; }
Property Value
Type | Description |
---|---|
CsDelegate |
EventType
The event handler type that is assigned to the event.
Declaration
CsType EventType { get; }
Property Value
Type | Description |
---|---|
CsType |
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
CsMethod RaiseMethod { get; }
Property Value
Type | Description |
---|---|
CsMethod |
RemoveMethod
The method that removes a subscription to the event.
Declaration
CsMethod RemoveMethod { get; }
Property Value
Type | Description |
---|---|
CsMethod |