Show / Hide Table of Contents

    Class DescribedAssembly

    An assembly that can be constructed in piece by piece, an imperative fashion.

    Inheritance
    System.Object
    DescribedMember
    DescribedAssembly
    Implements
    IAssembly
    IMember
    Inherited Members
    DescribedMember.FullName
    DescribedMember.Name
    DescribedMember.Attributes
    DescribedMember.AddAttribute(IAttribute)
    DescribedMember.ToString()
    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 Source

    DescribedAssembly(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 Source

    Types

    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 Source

    AddType(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.

    Implements

    IAssembly
    IMember

    Extension Methods

    AccessModifierAttribute.GetAccessModifier(IMember)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX