Class DescribedAssembly
An assembly that can be constructed in piece by piece, an imperative fashion.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class DescribedAssembly : DescribedMember, IAssembly, IMember
Constructors
| Improve this Doc 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
| Improve this Doc View SourceTypes
Gets a list of all top-level types defined in this assembly.
Declaration
public IReadOnlyList<IType> Types { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IType> | A list of types that are defined in this assembly. |
Methods
| Improve this Doc 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. |