Interface ICommandRegistry
Singleton application service contract for the service registering command types.
Namespace: Kephas.Application.Console
Assembly: Kephas.Application.Console.dll
Syntax
[SingletonAppServiceContract]
public interface ICommandRegistry
Methods
| Improve this Doc View SourceGetCommandTypes()
Gets the command types.
Declaration
IEnumerable<ITypeInfo> GetCommandTypes()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ITypeInfo> | The command types. |
ResolveCommandType(String)
Resolves the command type.
Declaration
ITypeInfo ResolveCommandType(string command)
Parameters
Type | Name | Description |
---|---|---|
System.String | command | The command. |
Returns
Type | Description |
---|---|
ITypeInfo | An ITypeInfo. |