Class DescribedAssembly
An assembly that can be constructed in piece by piece, an imperative fashion.
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class DescribedAssembly : DescribedMember, IAssembly, IMember
Constructors
| Edit this page View SourceDescribedAssembly(QualifiedName)
Creates an empty assembly with a particular name.
Declaration
public DescribedAssembly(QualifiedName fullName)
Parameters
| Type | Name | Description |
|---|---|---|
| QualifiedName | fullName | The assembly's name. |
Properties
| Edit this page View SourceTypes
Gets a list of all top-level types defined in this assembly.
Declaration
public IReadOnlyList<IType> Types { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<IType> | A list of types that are defined in this assembly. |
Methods
| Edit this page View SourceAddType(IType)
Adds a type to this assembly's list of defined types.
Declaration
public void AddType(IType type)
Parameters
| Type | Name | Description |
|---|---|---|
| IType | type | The type to add. |