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

Class CommandPermission

Inheritance
System.Object
CommandBase
Command
CommandPermission
Implements
ICommand
Inherited Members
Command.ExecuteAsync()
CommandBase.Context
CommandBase.PrintAsync(String)
CommandBase.PrintAsync(String, Color)
CommandBase.CheckPermissionAsync(String)
Namespace: OpenMod.Core.Commands.OpenModCommands
Assembly: OpenMod.Core.dll
Syntax
public class CommandPermission : Command, ICommand

Constructors

| Improve this Doc View Source

CommandPermission(IServiceProvider)

Declaration
public CommandPermission(IServiceProvider serviceProvider)
Parameters
Type Name Description
IServiceProvider serviceProvider

Methods

| Improve this Doc View Source

OnExecuteAsync()

Declaration
protected override Task OnExecuteAsync()
Returns
Type Description
Task
Overrides
Command.OnExecuteAsync()

Implements

ICommand

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)