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

    Class ConvertingErrorAttribute

    Attribute to specify converting error message that will be sent as resposne on error.

    Inheritance
    System.Object
    System.Attribute
    ArgumentErrorAttribute
    ConvertingErrorAttribute
    Implements
    System.IEquatable<ArgumentErrorAttribute>
    System.IEquatable<System.String>
    Inherited Members
    ArgumentErrorAttribute.TextTemplate
    ArgumentErrorAttribute.ArgPlaceholder
    ArgumentErrorAttribute.TypePlaceholder
    ArgumentErrorAttribute.NamePlaceholder
    ArgumentErrorAttribute.MessagePlaceholder
    ArgumentErrorAttribute.SenderNicknamePlaceholder
    ArgumentErrorAttribute.SenderIdPlaceholder
    ArgumentErrorAttribute.BotNicknamePlaceholder
    ArgumentErrorAttribute.BotIdPlaceholder
    ArgumentErrorAttribute.RecipientIdPlaceholder
    ArgumentErrorAttribute.RecipientNamePlaceholder
    ArgumentErrorAttribute.ToString()
    ArgumentErrorAttribute.ToStringAsync(ICommandContext, String, ParameterInfo, CancellationToken)
    ArgumentErrorAttribute.Equals(Object)
    ArgumentErrorAttribute.Equals(ArgumentErrorAttribute)
    ArgumentErrorAttribute.Equals(String)
    ArgumentErrorAttribute.GetHashCode()
    Namespace: TehGM.Wolfringo.Commands
    Assembly: Wolfringo.Commands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
    public class ConvertingErrorAttribute : ArgumentErrorAttribute, IEquatable<ArgumentErrorAttribute>, IEquatable<string>

    Constructors

    | Improve this Doc View Source

    ConvertingErrorAttribute(String)

    Attribute to specify message that will be sent as respone when argument error occurs.

    Declaration
    public ConvertingErrorAttribute(string messageTemplate)
    Parameters
    Type Name Description
    System.String messageTemplate

    Message that will be sent as response on error.

    Properties

    | Improve this Doc View Source

    Default

    Default instance containing a default message template.

    Declaration
    public static ConvertingErrorAttribute Default { get; set; }
    Property Value
    Type Description
    ConvertingErrorAttribute

    Implements

    System.IEquatable<T>
    System.IEquatable<T>