Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class ArgumentTypeNameAttribute

    Changes the type of attribute inside of error messages.

    Inheritance
    Object
    Attribute
    ArgumentTypeNameAttribute
    Implements
    IEquatable<ArgumentTypeNameAttribute>
    Namespace: TehGM.Wolfringo.Commands
    Assembly: Wolfringo.Commands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
    public class ArgumentTypeNameAttribute : Attribute, IEquatable<ArgumentTypeNameAttribute>
    Remarks

    This name will be used by {{Type}} placeholder in error message template.

    Constructors

    | Improve this Doc View Source

    ArgumentTypeNameAttribute(String)

    Changes the type of attribute inside of error messages.

    Declaration
    public ArgumentTypeNameAttribute(string name)
    Parameters
    Type Name Description
    String name

    Display name for the argument type.

    Remarks

    This name will be used by {{Type}} placeholder in error message template.

    Properties

    | Improve this Doc View Source

    Name

    Changes the type of attribute inside of error messages.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String
    Remarks

    This name will be used by {{Type}} placeholder in error message template.

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Attribute.Equals(Object)
    | Improve this Doc View Source

    Equals(ArgumentTypeNameAttribute)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Attribute.GetHashCode()
    | Improve this Doc View Source

    ToString()

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

    Operators

    | Improve this Doc View Source

    Equality(ArgumentTypeNameAttribute, ArgumentTypeNameAttribute)

    Declaration
    public static bool operator ==(ArgumentTypeNameAttribute left, ArgumentTypeNameAttribute right)
    Parameters
    Type Name Description
    ArgumentTypeNameAttribute left
    ArgumentTypeNameAttribute right
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(ArgumentTypeNameAttribute, ArgumentTypeNameAttribute)

    Declaration
    public static bool operator !=(ArgumentTypeNameAttribute left, ArgumentTypeNameAttribute right)
    Parameters
    Type Name Description
    ArgumentTypeNameAttribute left
    ArgumentTypeNameAttribute right
    Returns
    Type Description
    Boolean

    Implements

    System.IEquatable<T>