Class ConvertingErrorAttribute
Attribute to specify converting error message that will be sent as resposne on error.
Inherited Members
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 SourceConvertingErrorAttribute(String)
Attribute to specify message that will be sent as respone when argument error occurs.
Declaration
public ConvertingErrorAttribute(string messageTemplate)
Parameters
Type | Name | Description |
---|---|---|
String | messageTemplate | Message that will be sent as response on error. |
Properties
| Improve this Doc View SourceDefault
Default instance containing a default message template.
Declaration
public static ConvertingErrorAttribute Default { get; set; }
Property Value
Type | Description |
---|---|
ConvertingErrorAttribute |