-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetAttributeParameterValue.cs
More file actions
41 lines (35 loc) · 1.67 KB
/
IDotNetAttributeParameterValue.cs
File metadata and controls
41 lines (35 loc) · 1.67 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
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
using CodeFactory.DotNet;
namespace CodeFactory.DotNet
{
/// <summary>
/// The model information for an attributes parameter value for .net implementation.
/// </summary>
public interface IDotNetAttributeParameterValue : IDotNetModel
{
/// <summary>
/// Determines the kind of parameter that has been returned.
/// </summary>
AttributeParameterKind ParameterKind { get; }
/// <summary>
/// Gets the raw value assigned to the parameter. This will be populated if the property <see cref="ParameterKind"/> is not set to 'Array'
/// </summary>
string Value { get; }
/// <summary>
/// The type definition of the parameter that was passed. This will be populated if the property <see cref="ParameterKind"/> is set to 'Type'
/// </summary>
IDotNetType TypeValue { get; }
/// <summary>
/// The enum value provides the name of the enumeration value that was provided. This will be populated if the property <see cref="ParameterKind"/> is set to 'Enum'
/// </summary>
string EnumValue { get; }
/// <summary>
/// Gets an enumeration of all the parameter values that were assigned to the attribute parameter. This will be populated if the property <see cref="ParameterKind"/> is set to 'Array'
/// </summary>
IReadOnlyList<IDotNetAttributeParameterValue> Values { get; }
}
}