Search Results for

    Show / Hide Table of Contents

    Class SimpleName

    Defines a simple name: a name and the number of type parameters it takes.

    Inheritance
    object
    UnqualifiedName
    SimpleName
    Implements
    IEquatable<UnqualifiedName>
    IEquatable<SimpleName>
    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 SimpleName : UnqualifiedName, IEquatable<UnqualifiedName>, IEquatable<SimpleName>

    Constructors

    | Edit this page View Source

    SimpleName(string)

    Creates a new simple name from a string. The resulting name has zero type parameters.

    Declaration
    public SimpleName(string name)
    Parameters
    Type Name Description
    string name
    | Edit this page View Source

    SimpleName(string, int)

    Creates a new simple name from a string and a number of type parameters.

    Declaration
    public SimpleName(string name, int typeParameterCount)
    Parameters
    Type Name Description
    string name
    int typeParameterCount

    Properties

    | Edit this page View Source

    Name

    Gets this simple name's actual name.

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

    TypeParameterCount

    Gets the number of type parameters for this simple name.

    Declaration
    public int TypeParameterCount { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Equals(SimpleName)

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

    Declaration
    public bool Equals(SimpleName other)
    Parameters
    Type Name Description
    SimpleName 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