Search Results for

    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
    object
    UnqualifiedName
    GenericName
    Implements
    IEquatable<UnqualifiedName>
    IEquatable<GenericName>
    Inherited Members
    UnqualifiedName.Qualify()
    UnqualifiedName.Qualify(QualifiedName)
    UnqualifiedName.Qualify(UnqualifiedName)
    UnqualifiedName.Qualify(string)
    UnqualifiedName.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Flame
    Assembly: Flame.dll
    Syntax
    public class GenericName : UnqualifiedName, IEquatable<UnqualifiedName>, IEquatable<GenericName>

    Constructors

    | Edit this page 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
    IReadOnlyList<QualifiedName> typeArgumentNames
    | Edit this page 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
    IReadOnlyList<QualifiedName> typeArgumentNames

    Properties

    | Edit this page View Source

    DeclarationName

    Gets this generic name's instantiated name,

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

    TypeArgumentNames

    Gets this generic name's type arguments.

    Declaration
    public IReadOnlyList<QualifiedName> TypeArgumentNames { get; }
    Property Value
    Type Description
    IReadOnlyList<QualifiedName>

    Methods

    | Edit this page View Source

    Equals(GenericName)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(GenericName other)
    Parameters
    Type Name Description
    GenericName other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Edit this page 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
    bool

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

    Overrides
    UnqualifiedName.Equals(UnqualifiedName)
    | Edit this page View Source

    GetHashCode()

    Gets a hash code for this unqualified name.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code.

    Overrides
    UnqualifiedName.GetHashCode()
    | Edit this page View Source

    ToString()

    Gets a string representation for this unqualified name.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation.

    Overrides
    UnqualifiedName.ToString()

    Implements

    IEquatable<T>
    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX