-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathICsEvent.cs
More file actions
38 lines (33 loc) · 1.15 KB
/
ICsEvent.cs
File metadata and controls
38 lines (33 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
namespace CodeFactory.DotNet.CSharp
{
/// <summary>
/// Model definition of a event in c#.
/// </summary>
public interface ICsEvent:ICsMember,IDotNetEvent
{
/// <summary>
/// The event handler delegate used by the event.
/// </summary>
new CsDelegate EventHandlerDelegate { get; }
/// <summary>
/// The method definition to raise the event.
/// </summary>
new CsMethod RaiseMethod { get; }
/// <summary>
/// The method that adds a subscription to the event.
/// </summary>
new CsMethod AddMethod { get; }
/// <summary>
/// The method that removes a subscription to the event.
/// </summary>
new CsMethod RemoveMethod { get; }
/// <summary>
/// The event handler type that is assigned to the event.
/// </summary>
new CsType EventType { get; }
}
}