Class PriorityAttribute
Specifies command's priority.
Inheritance
PriorityAttribute
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class PriorityAttribute : Attribute, IEquatable<PriorityAttribute>, IComparable<PriorityAttribute>
Remarks
Constructors
|
Improve this Doc
View Source
PriorityAttribute(Int32)
Creates a new priority attribute.
Declaration
public PriorityAttribute(int priority)
Parameters
Type |
Name |
Description |
Int32 |
priority |
Command's priority.
|
Remarks
Properties
|
Improve this Doc
View Source
Priority
Declaration
public int Priority { get; }
Property Value
Remarks
Methods
|
Improve this Doc
View Source
CompareTo(PriorityAttribute)
Declaration
public int CompareTo(PriorityAttribute other)
Parameters
Returns
|
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(PriorityAttribute)
Declaration
public bool Equals(PriorityAttribute other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(PriorityAttribute, PriorityAttribute)
Declaration
public static bool operator ==(PriorityAttribute left, PriorityAttribute right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(PriorityAttribute, PriorityAttribute)
Declaration
public static bool operator !=(PriorityAttribute left, PriorityAttribute right)
Parameters
Returns
Implements