Example #1
0
 public MethodGuard(Type commandContractType)
 {
     _commandContract = (BaseCommandContract)Activator.CreateInstance(commandContractType);
 }
Example #2
0
 public CommandContract(Type commandContractType)
 {
     _commandContractType = commandContractType;
     _commandContract     = (BaseCommandContract)Activator.CreateInstance(commandContractType);
 }