Class SummaryAttribute
Sets the summary description for the command in the help list.
Inheritance
System.Object
System.Attribute
SummaryAttribute
Implements
System.IEquatable<SummaryAttribute>
Namespace: TehGM.Wolfringo.Commands
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class SummaryAttribute : Attribute, IEquatable<SummaryAttribute>
Constructors
| Improve this Doc View SourceSummaryAttribute(String)
Sets the summary description for the command in the help list.
Declaration
public SummaryAttribute(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Summary value. |
Properties
| Improve this Doc View SourceText
Summary value.
Declaration
public string Text { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(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(SummaryAttribute)
Declaration
public bool Equals(SummaryAttribute other)
Parameters
Type | Name | Description |
---|---|---|
SummaryAttribute | other |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Attribute.GetHashCode()
Implements
System.IEquatable<T>