Class ArgumentNameAttribute
Changes the name of attribute inside of error messages.
Inheritance
ArgumentNameAttribute
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class ArgumentNameAttribute : Attribute, IEquatable<ArgumentNameAttribute>
Remarks
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
Properties
|
Improve this Doc
View Source
Name
Display name for the argument.
Declaration
public string Name { get; }
Property Value
Remarks
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(ArgumentNameAttribute)
Declaration
public bool Equals(ArgumentNameAttribute other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(ArgumentNameAttribute, ArgumentNameAttribute)
Declaration
public static bool operator ==(ArgumentNameAttribute left, ArgumentNameAttribute right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(ArgumentNameAttribute, ArgumentNameAttribute)
Declaration
public static bool operator !=(ArgumentNameAttribute left, ArgumentNameAttribute right)
Parameters
Returns
Implements