Interface ICsEvent
Model definition of a event in c#.
Inherited Members
Namespace: CodeFactory.DotNet.CSharp
Assembly: CodeFactory.DotNet.dll
Syntax
public interface ICsEvent : ICsMember, ICsModel, ICsAttributes, IParent, 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
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 |
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 |