-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetGeneric.cs
More file actions
36 lines (30 loc) · 1.24 KB
/
IDotNetGeneric.cs
File metadata and controls
36 lines (30 loc) · 1.24 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
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
namespace CodeFactory.DotNet
{
/// <summary>
/// Definition that determines if the .net model implements generics.
/// </summary>
public interface IDotNetGeneric
{
/// <summary>
/// Flag the determines if this item supports generics
/// </summary>
bool IsGeneric { get; }
/// <summary>
/// List of the generic parameters assigned.
/// </summary>
IReadOnlyList<IDotNetGenericParameter> GenericParameters { get; }
/// <summary>
/// Flag that determines if the generics implementation has strong types passed in to the generics implementation.
/// </summary>
bool HasStrongTypesInGenerics { get; }
/// <summary>
/// Enumeration of the strong types that are implemented for each generic parameter. This will be an empty list when there is no generic types implemented.
/// </summary>
IReadOnlyList<IDotNetType> GenericTypes { get; }
}
}