-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetField.cs
More file actions
38 lines (33 loc) · 1.14 KB
/
IDotNetField.cs
File metadata and controls
38 lines (33 loc) · 1.14 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
{
/// <summary>
/// Model definition of a field in .net.
/// </summary>
public interface IDotNetField:IDotNetMember
{
/// <summary>
/// The data type assigned to the field.
/// </summary>
IDotNetType DataType { get; }
/// <summary>
/// Flag that determines if this field is set to readonly.
/// </summary>
bool IsReadOnly { get; }
/// <summary>
/// Flag that determines if the field is set to be static.
/// </summary>
bool IsStatic { get; }
/// <summary>
/// Flag that determines if the field is a constant.
/// </summary>
bool IsConstant { get; }
/// <summary>
/// The value that was assigned to the constant. Will return as the string representation of the value.
/// </summary>
string ConstantValue { get; }
}
}