Class CaseSensitivityAttribute
Sets case sensitivity for the command.
Namespace: TehGM.Wolfringo.Commands
Assembly: Wolfringo.Commands.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class CaseSensitivityAttribute : Attribute
Remarks
Command's case sensitivity will be taken from Case
Respecting case sensitivity depends on the command initializer. All command initializers included with Wolfringo respect command's case sensitivity - respecting both Case
Constructors
| Improve this Doc View SourceCaseSensitivityAttribute(Boolean)
Creates a new case sensitivity attribute.
Declaration
public CaseSensitivityAttribute(bool caseSensitive)
Parameters
Type | Name | Description |
---|---|---|
System. |
caseSensitive | Command's case sensitivity. |
Remarks
See Case
Properties
| Improve this Doc View SourceCaseSensitive
Command's case sensitivity.
Declaration
public bool CaseSensitive { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
See Case