Class CommandStore
Inheritance
System.Object
CommandStore
Implements
IAsyncDisposable
Assembly: OpenMod.Core.dll
Syntax
public class CommandStore : object, ICommandStore, IAsyncDisposable
Constructors
|
Improve this Doc
View Source
CommandStore(IOptions<CommandStoreOptions>, IRuntime, IServiceProvider, IPermissionRegistry, ICommandPermissionBuilder, ICommandDataStore, ILogger<CommandStore>)
Declaration
public CommandStore(IOptions<CommandStoreOptions> options, IRuntime runtime, IServiceProvider serviceProvider, IPermissionRegistry permissionRegistry, ICommandPermissionBuilder commandPermissionBuilder, ICommandDataStore commandDataStore, ILogger<CommandStore> logger)
Parameters
Methods
|
Improve this Doc
View Source
DisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
Type |
Description |
ValueTask |
|
|
Improve this Doc
View Source
GetCommandsAsync()
Declaration
public Task<IReadOnlyCollection<ICommandRegistration>> GetCommandsAsync()
Returns
|
Improve this Doc
View Source
InvalidateAsync()
Declaration
public Task InvalidateAsync()
Returns
Implements
IAsyncDisposable
Extension Methods