Method | Description | |
---|---|---|
CanCreateHandler ( string commandName ) : bool |
Gets a value indicating whether the factory can create a handler for the given command.
|
|
CreateHandler ( string commandName, string>.Dictionary |
Creates a new CommandHandler given the DriverCommand, locator parameters, and body parameters.
|
Method | Description | |
---|---|---|
AddHandlers ( ) : void |
Adds handler constructors to the dictionary of handler creators.
|
|
CommandHandlerFactory ( ) : System |
Initializes a new instance of the CommandHandlerFactory class.
|
|
MapCommandHandler ( string command, |
Maps a DriverCommand value to a CommandHandler object.
|
Method | Description | |
---|---|---|
GetConstructorInfo ( |
||
GetHandlerConstructor ( string commandName ) : |
public CanCreateHandler ( string commandName ) : bool | ||
commandName | string | The |
return | bool |
public CreateHandler ( string commandName, string>.Dictionary |
||
commandName | string | The |
locatorParameters | string>.Dictionary | The parameters in the URL used to locate the resource. |
parameters | object>.Dictionary | The parameters in the body of the request used to act on the resource. |
return |
protected MapCommandHandler ( string command, |
||
command | string | The |
handlerType | The |
|
return | void |