Show / Hide Table of Contents

    Class GenericName

    Defines a generic name; a simple name that is instantiated by a number of generic type arguments.

    Inheritance
    System.Object
    UnqualifiedName
    GenericName
    Implements
    System.IEquatable<UnqualifiedName>
    System.IEquatable<GenericName>
    Inherited Members
    UnqualifiedName.Qualify()
    UnqualifiedName.Qualify(QualifiedName)
    UnqualifiedName.Qualify(UnqualifiedName)
    UnqualifiedName.Qualify(String)
    UnqualifiedName.Equals(Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame
    Assembly: Flame.dll
    Syntax
    public class GenericName : UnqualifiedName, IEquatable<UnqualifiedName>, IEquatable<GenericName>

    Constructors

    | Improve this Doc View Source

    GenericName(QualifiedName, IReadOnlyList<QualifiedName>)

    Creates a new generic name from the given declaration name and a number of type arguments names.

    Declaration
    public GenericName(QualifiedName declarationName, IReadOnlyList<QualifiedName> typeArgumentNames)
    Parameters
    Type Name Description
    QualifiedName declarationName
    System.Collections.Generic.IReadOnlyList<QualifiedName> typeArgumentNames
    | Improve this Doc View Source

    GenericName(UnqualifiedName, IReadOnlyList<QualifiedName>)

    Creates a new generic name from the given declaration name and a number of type arguments names.

    Declaration
    public GenericName(UnqualifiedName declarationName, IReadOnlyList<QualifiedName> typeArgumentNames)
    Parameters
    Type Name Description
    UnqualifiedName declarationName
    System.Collections.Generic.IReadOnlyList<QualifiedName> typeArgumentNames

    Properties

    | Improve this Doc View Source

    DeclarationName

    Gets this generic name's instantiated name,

    Declaration
    public QualifiedName DeclarationName { get; }
    Property Value
    Type Description
    QualifiedName
    | Improve this Doc View Source

    TypeArgumentNames

    Gets this generic name's type arguments.

    Declaration
    public IReadOnlyList<QualifiedName> TypeArgumentNames { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<QualifiedName>

    Methods

    | Improve this Doc View Source

    Equals(GenericName)

    Declaration
    public bool Equals(GenericName other)
    Parameters
    Type Name Description
    GenericName other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(UnqualifiedName)

    Checks if this unqualified name equals another unqualified name.

    Declaration
    public override bool Equals(UnqualifiedName other)
    Parameters
    Type Name Description
    UnqualifiedName other

    An unqualified name to compare this unqualified name to.

    Returns
    Type Description
    System.Boolean

    true if this unqualified name equals the object; otherwise, false.

    Overrides
    UnqualifiedName.Equals(UnqualifiedName)
    | Improve this Doc View Source

    GetHashCode()

    Gets a hash code for this unqualified name.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A hash code.

    Overrides
    UnqualifiedName.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Gets a string representation for this unqualified name.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string representation.

    Overrides
    UnqualifiedName.ToString()

    Implements

    System.IEquatable<T>
    System.IEquatable<T>
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX