Interface ICommandsHandlerProvider
A service that deals with resolving Handler instance to run command in.
Namespace: TehGM.Wolfringo.Commands.Initialization
Assembly: Wolfringo.Commands.dll
Syntax
public interface ICommandsHandlerProvider
Methods
| Improve this Doc View SourceGetCommandHandler(ICommandInstanceDescriptor, IServiceProvider)
Resolves a command handler instance.
Declaration
ICommandsHandlerProviderResult GetCommandHandler(ICommandInstanceDescriptor descriptor, IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
ICommandInstanceDescriptor | descriptor | Descriptor of the command instance. |
System.IServiceProvider | services | Services that can be used for creaton of handlers. |
Returns
Type | Description |
---|---|
ICommandsHandlerProviderResult | A result of the command handler initialization. |