Class HelpOrderAttribute
Specifies command's help order.
Inheritance
System.Object
System.Attribute
HelpOrderAttribute
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class HelpOrderAttribute : Attribute, IEquatable<HelpOrderAttribute>, IComparable<HelpOrderAttribute>
Remarks
Constructors
|
Improve this Doc
View Source
HelpOrderAttribute(Int32)
Creates a new help order attribute.
Declaration
public HelpOrderAttribute(int order)
Parameters
Type |
Name |
Description |
System.Int32 |
order |
Command's help order.
|
Remarks
Properties
|
Improve this Doc
View Source
Order
Order at which the command will be listed in help command.
Declaration
public int Order { get; }
Property Value
Type |
Description |
System.Int32 |
|
Remarks
Methods
|
Improve this Doc
View Source
CompareTo(HelpOrderAttribute)
Declaration
public int CompareTo(HelpOrderAttribute other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Attribute.Equals(System.Object)
|
Improve this Doc
View Source
Equals(HelpOrderAttribute)
Declaration
public bool Equals(HelpOrderAttribute other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Attribute.GetHashCode()
Operators
|
Improve this Doc
View Source
Equality(HelpOrderAttribute, HelpOrderAttribute)
Declaration
public static bool operator ==(HelpOrderAttribute left, HelpOrderAttribute right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(HelpOrderAttribute, HelpOrderAttribute)
Declaration
public static bool operator !=(HelpOrderAttribute left, HelpOrderAttribute right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
System.IComparable<T>