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

Class CommandOpenMod

Inheritance
System.Object
CommandBase
Command
CommandOpenMod
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 CommandOpenMod : Command, ICommand

Constructors

| Improve this Doc View Source

CommandOpenMod(IRuntime, IHostInformation, IServiceProvider)

Declaration
public CommandOpenMod(IRuntime runtime, IHostInformation hostInformation, IServiceProvider serviceProvider)
Parameters
Type Name Description
IRuntime runtime
IHostInformation hostInformation
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)