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

    Class ArgumentNameAttribute

    Changes the name of attribute inside of error messages.

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

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

    Constructors

    | Improve this Doc View Source

    ArgumentNameAttribute(String)

    Changes the name of attribute inside of error messages.

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

    Display name for the argument.

    Remarks

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

    Properties

    | Improve this Doc View Source

    Name

    Display name for the argument.

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

    This name will be used by {{Name}} 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(ArgumentNameAttribute)

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

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

    Inequality(ArgumentNameAttribute, ArgumentNameAttribute)

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

    Implements

    System.IEquatable<T>