Interface ICommandModule
Represents a base interface for all types of command modules.
Namespace: DisCatSharp.CommandsNext.Entities
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public interface ICommandModule
Properties
| Improve this Doc View SourceModuleType
Gets the type of this module.
Declaration
Type ModuleType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceGetInstance(IServiceProvider)
Returns an instance of this module.
Declaration
BaseCommandModule GetInstance(IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | services | Services to instantiate the module with. |
Returns
Type | Description |
---|---|
BaseCommandModule | A created instance of this module. |