Class CommandHelp
Inheritance
System.Object
CommandHelp
Assembly: OpenMod.Core.dll
Syntax
public class CommandHelp : Command, ICommand
Constructors
|
Improve this Doc
View Source
CommandHelp(IRuntime, ICommandStore, IServiceProvider, IPermissionRegistry, ICommandPermissionBuilder, ICommandContextBuilder, IOpenModStringLocalizer)
Declaration
public CommandHelp(IRuntime runtime, ICommandStore commandStore, IServiceProvider serviceProvider, IPermissionRegistry permissionRegistry, ICommandPermissionBuilder commandPermissionBuilder, ICommandContextBuilder commandContextBuilder, IOpenModStringLocalizer stringLocalizer)
Parameters
Methods
|
Improve this Doc
View Source
GetCommandUsage(ICommandRegistration)
Declaration
public string GetCommandUsage(ICommandRegistration command)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetPermission(ICommandRegistration, IReadOnlyCollection<ICommandRegistration>)
Declaration
protected virtual string? GetPermission(ICommandRegistration commandRegistration, IReadOnlyCollection<ICommandRegistration> commands)
Parameters
Returns
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
OnExecuteAsync()
Declaration
protected override Task OnExecuteAsync()
Returns
Overrides
Implements
Extension Methods