-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetParameter.cs
More file actions
58 lines (49 loc) · 1.84 KB
/
IDotNetParameter.cs
File metadata and controls
58 lines (49 loc) · 1.84 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
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
namespace CodeFactory.DotNet
{
/// <summary>
/// The definition of a parameter used in .Net.
/// </summary>
public interface IDotNetParameter:IDotNetModel,IDotNetAttributes,IParent,ILookup
{
/// <summary>
/// The name of the parameter.
/// </summary>
string Name { get; }
/// <summary>
/// The data type assigned to the parameter.
/// </summary>
IDotNetType ParameterType { get; }
/// <summary>
/// Flag that determines if the parameter is assigned the out keyword.
/// </summary>
bool IsOut { get; }
/// <summary>
/// Flag that determines if the parameter is assigned the ref keyword.
/// </summary>
bool IsRef { get; }
/// <summary>
/// Flag that determines if the parameter is an parameter array.
/// </summary>
bool IsParams { get; }
/// <summary>
/// Flag that determines if the parameter is optional.
/// </summary>
bool IsOptional { get; }
/// <summary>
/// Flag that determines if the parameter is a generic place holder.
/// </summary>
bool IsGenericParameter { get; }
/// <summary>
/// Flag that determines if the parameter has a default value.
/// </summary>
bool HasDefaultValue { get; }
/// <summary>
/// The default value assigned to the parameter. This will be null if the HasDefaultValue property is set to false.
/// </summary>
IDotNetParameterDefaultValue DefaultValue { get; }
}
}