Class OpenModComponentCommandSource
Inheritance
System.Object
OpenModComponentCommandSource
Assembly: OpenMod.Core.dll
Syntax
public class OpenModComponentCommandSource : object, ICommandSource
Constructors
|
Improve this Doc
View Source
OpenModComponentCommandSource(ILogger, IOpenModComponent, Assembly)
Declaration
public OpenModComponentCommandSource(ILogger logger, IOpenModComponent openModComponent, Assembly assembly)
Parameters
Type |
Name |
Description |
ILogger |
logger |
|
IOpenModComponent |
openModComponent |
|
Assembly |
assembly |
|
Properties
|
Improve this Doc
View Source
Id
Declaration
public string Id { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
GetCommandsAsync()
Declaration
public Task<IReadOnlyCollection<ICommandRegistration>> GetCommandsAsync()
Returns
Implements
Extension Methods