Class CommandInitializerProviderExtensions
Extensions for command initializer maps.
Namespace: TehGM.Wolfringo.Commands.Initialization
Assembly: Wolfringo.Commands.dll
Syntax
public static class CommandInitializerProviderExtensions
Methods
| Improve this Doc View SourceGetMappedInitializer<T>(ICommandInitializerProvider)
Gets a command initializer for the command type.
Declaration
public static ICommandInitializer GetMappedInitializer<T>(this ICommandInitializerProvider map)
where T : CommandAttributeBase
Parameters
Type | Name | Description |
---|---|---|
ICommandInitializerProvider | map |
Returns
Type | Description |
---|---|
ICommandInitializer | An initializer for provided command type. |
Type Parameters
Name | Description |
---|---|
T | Type of the command. |