Interface IZ21CommandFactory
Constructs IZ21Command instances, supplying their required encoding services and binding any remaining constructor arguments. Adding a new command requires no change here.
public interface IZ21CommandFactory
Methods
Create<TCommand>(params object[])
Creates a command of type TCommand; encoding services are supplied automatically and args fills the remaining constructor parameters.
TCommand Create<TCommand>(params object[] args) where TCommand : IZ21Command
Parameters
argsobject[]
Returns
- TCommand
Type Parameters
TCommand