public MethodGuard(Type commandContractType) { _commandContract = (BaseCommandContract)Activator.CreateInstance(commandContractType); }
public CommandContract(Type commandContractType) { _commandContractType = commandContractType; _commandContract = (BaseCommandContract)Activator.CreateInstance(commandContractType); }