-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetDelegate.cs
More file actions
65 lines (55 loc) · 2.12 KB
/
IDotNetDelegate.cs
File metadata and controls
65 lines (55 loc) · 2.12 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
64
65
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
using CodeFactory.SourceCode;
namespace CodeFactory.DotNet
{
/// <summary>
/// Model definition of a delegate in .net.
/// </summary>
public interface IDotNetDelegate:IDotNetModel,IDotNetAttributes,IDotNetGeneric,IDocumentation,IParent,ILookup,ISourceFiles
{
/// <summary>
/// The name assigned to the this item.
/// </summary>
string Name { get; }
/// <summary>
/// The namespace the delegate is assigned to.
/// </summary>
string Namespace { get; }
/// <summary>
/// The security scope that has been assigned to this item.
/// </summary>
DotNetSecurity Security { get; }
/// <summary>
/// The type information about the return type assigned to the method.
/// </summary>
IDotNetType ReturnType { get; }
/// <summary>
/// Flag that determines if the method has parameters assigned to it.
/// </summary>
bool HasParameters { get; }
/// <summary>
/// List of the parameters that have been assigned to the delegate. If HasParameters property is set to false this will be an empty list.
/// </summary>
IReadOnlyList<IDotNetParameter> Parameters { get; }
/// <summary>
/// The invoke method definition for this delegate.
/// </summary>
IDotNetMethod InvokeMethod { get; }
/// <summary>
/// The begin invoke method definition for this delegate.
/// </summary>
IDotNetMethod BeginInvokeMethod { get; }
/// <summary>
/// The end invoke method definition for this delegate.
/// </summary>
IDotNetMethod EndInvokeMethod { get; }
/// <summary>
/// Flag that determines if the delegate return is a void.
/// </summary>
bool IsVoid { get; }
}
}