Class DisplayNameAttribute
Sets display name for the command in the help list.
Inheritance
DisplayNameAttribute
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class DisplayNameAttribute : Attribute, IEquatable<DisplayNameAttribute>
Constructors
|
Improve this Doc
View Source
DisplayNameAttribute(String)
Sets display name for the command in the help list.
Declaration
public DisplayNameAttribute(string text)
Parameters
Type |
Name |
Description |
String |
text |
Display Name value.
|
Properties
|
Improve this Doc
View Source
Text
Declaration
public string Text { get; }
Property Value
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(DisplayNameAttribute)
Declaration
public bool Equals(DisplayNameAttribute other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements