OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class RegisterCommandPermissionAttribute

Inheritance
System.Object
RegisterCommandPermissionAttribute
Namespace: OpenMod.Core.Permissions
Assembly: OpenMod.Core.dll
Syntax
public class RegisterCommandPermissionAttribute : Attribute

Constructors

| Improve this Doc View Source

RegisterCommandPermissionAttribute(String)

Declaration
public RegisterCommandPermissionAttribute(string permission)
Parameters
Type Name Description
System.String permission

Properties

| Improve this Doc View Source

DefaultGrant

Declaration
public PermissionGrantResult DefaultGrant { get; set; }
Property Value
Type Description
PermissionGrantResult
| Improve this Doc View Source

Description

Declaration
public string? Description { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Permission

Declaration
public string Permission { get; }
Property Value
Type Description
System.String

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)