-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetEvent.cs
More file actions
63 lines (53 loc) · 1.89 KB
/
IDotNetEvent.cs
File metadata and controls
63 lines (53 loc) · 1.89 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
namespace CodeFactory.DotNet
{
/// <summary>
/// Model definition of a event in .net.
/// </summary>
public interface IDotNetEvent:IDotNetMember
{
/// <summary>
/// The event handler delegate used by the event.
/// </summary>
IDotNetDelegate EventHandlerDelegate { get; }
/// <summary>
/// The method definition to raise the event.
/// </summary>
IDotNetMethod RaiseMethod { get; }
/// <summary>
/// The method that adds a subscription to the event.
/// </summary>
IDotNetMethod AddMethod { get; }
/// <summary>
/// The method that removes a subscription to the event.
/// </summary>
IDotNetMethod RemoveMethod { get; }
/// <summary>
/// The event handler type that is assigned to the event.
/// </summary>
IDotNetType EventType { get; }
/// <summary>
/// Flag that determines if the event has been implemented as an abstract event.
/// </summary>
bool IsAbstract { get; }
/// <summary>
/// Flag that determines if the event is implemented as virtual.
/// </summary>
bool IsVirtual { get; }
/// <summary>
/// Flag that determines if the event has been overridden.
/// </summary>
bool IsOverride { get; }
/// <summary>
/// Flag that determines if the event has been sealed.
/// </summary>
bool IsSealed { get; }
/// <summary>
/// Flag that determines if the event is static.
/// </summary>
bool IsStatic { get; }
}
}