-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetAttribute.cs
More file actions
30 lines (27 loc) · 1.03 KB
/
IDotNetAttribute.cs
File metadata and controls
30 lines (27 loc) · 1.03 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
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
using CodeFactory.SourceCode;
namespace CodeFactory.DotNet
{
/// <summary>
/// Model definition for an attribute in a .net implementation.
/// </summary>
public interface IDotNetAttribute:IDotNetModel,IParent,ISourceFiles
{
/// <summary>
/// The type information for the attribute itself.
/// </summary>
IDotNetType Type { get; }
/// <summary>
/// Flag that determines if the attribute has parameters
/// </summary>
bool HasParameters { get; }
/// <summary>
/// Enumeration of the parameters that are assigned to the attribute. This will be an empty list if HasParameters is false.
/// </summary>
IReadOnlyList<IDotNetAttributeParameter> Parameters { get; }
}
}