Beispiel #1
0
 protected CommandRegistrations(
     List <ICommand> registeredCommands,
     ICommand targetCommand,
     ICommandServiceProvider commandServiceProvider,
     ICommandMethodFactoryService methodFactoryService)
 {
     this.registeredCommands     = registeredCommands;
     this.targetCommand          = targetCommand;
     this.commandServiceProvider = commandServiceProvider;
     this.methodFactoryService   = methodFactoryService;
 }
Beispiel #2
0
 public CommandRegistrations(ICommandServiceProvider commandServiceProvider, ICommandMethodFactoryService methodFactoryService)
     : this(new List <ICommand>(), null, commandServiceProvider, methodFactoryService)
 {
 }