-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetContainer.cs
More file actions
66 lines (56 loc) · 2.31 KB
/
IDotNetContainer.cs
File metadata and controls
66 lines (56 loc) · 2.31 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
59
60
61
62
63
64
65
66
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
using System.Threading.Tasks;
using CodeFactory.SourceCode;
namespace CodeFactory.DotNet
{
/// <summary>
/// The base implementation all container type models must implement in .net.
/// </summary>
public interface IDotNetContainer:IDotNetModel,ISourceFiles,IDotNetAttributes,IDocumentation,IDotNetGeneric,IParent,ILookup
{
/// <summary>
/// The type of container model that has been implemented.
/// </summary>
DotNetContainerType ContainerType { get; }
/// <summary>
/// The name of the container.
/// </summary>
string Name { get; }
/// <summary>
/// The namespace the container objects belongs to.
/// </summary>
string Namespace { get; }
/// <summary>
/// The security scope assigned to the container.
/// </summary>
DotNetSecurity Security { get; }
/// <summary>
/// List of the interfaces that are inherited by this container.
/// </summary>
IReadOnlyList<IDotNetInterface> InheritedInterfaces { get; }
/// <summary>
/// List of the members that are implemented in this container.
/// </summary>
IReadOnlyList<IDotNetMember> Members { get; }
/// <summary>
/// List of the methods that are implemented in this container.
/// </summary>
IReadOnlyList<IDotNetMethod> Methods { get; }
/// <summary>
/// List of the properties that are implemented in this container.
/// </summary>
IReadOnlyList<IDotNetProperty> Properties { get; }
/// <summary>
/// Enumeration of the events assigned to this container. If HasEvents is false this will be null.
/// </summary>
IReadOnlyList<IDotNetEvent> Events { get; }
/// <summary>
/// The source code syntax that is stored in the body of the container model. This will be null if the container was not loaded from source code.
/// </summary>
Task<string> GetBodySyntaxAsync();
}
}