-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIDotNetClass.cs
More file actions
52 lines (44 loc) · 1.55 KB
/
IDotNetClass.cs
File metadata and controls
52 lines (44 loc) · 1.55 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
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using System.Collections.Generic;
using CodeFactory.DotNet;
using CodeFactory.DotNet.CSharp;
namespace CodeFactory.DotNet
{
/// <summary>
/// Model definition for a class in .net.
/// </summary>
public interface IDotNetClass:IDotNetNestedContainers
{
/// <summary>
/// List of the constructors implemented in this class.
/// </summary>
IReadOnlyList<IDotNetMethod> Constructors { get; }
/// <summary>
/// The destructor implemented in this class.
/// </summary>
IDotNetMethod Destructor { get; }
/// <summary>
/// List of the fields implemented in this class.
/// </summary>
IReadOnlyList<IDotNetField> Fields { get; }
/// <summary>
/// The base class assigned to this class. This will be null if HasBase is false.
/// </summary>
IDotNetClass BaseClass { get; }
/// <summary>
/// Flag that determines if this class is static.
/// </summary>
bool IsStatic { get; }
/// <summary>
/// Flat that determines if this is an abstract class.
/// </summary>
bool IsAbstract { get; }
/// <summary>
/// Flag that determines if this class has been sealed.
/// </summary>
bool IsSealed { get; }
}
}