Class PermissionStringAttribute
Defines a readable name for this permission.
Inheritance
System.Object
System.Attribute
PermissionStringAttribute
Namespace: DisCatSharp
Assembly: DisCatSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class PermissionStringAttribute : Attribute
Constructors
| Improve this Doc View SourcePermissionStringAttribute(String)
Defines a readable name for this permission.
Declaration
public PermissionStringAttribute(string str)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | Readable name for this permission. |
Properties
| Improve this Doc View SourceString
Gets the readable name for this permission.
Declaration
public string String { get; }
Property Value
Type | Description |
---|---|
System.String |