// ----- Constructors
 public ClientCommandViewModel(IClientCommandService clientCommandService)
 {
     _clientCommandService           = clientCommandService;
     CloseTabCommand                 = new RelayCommand(CloseTab);
     CommandLines                    = new ObservableCollection <CommandLine>();
     CommandLines.CollectionChanged += CommandLinesOnCollectionChanged;
 }
 public ClientsController(
     IClientQueryService clientQueryService,
     IClientCommandService clientCommandService,
     ISubgroupQueryService subgroupQueryService)
 {
     _clientQueryService   = clientQueryService;
     _clientCommandService = clientCommandService;
     _subgroupQueryService = subgroupQueryService;
 }
Exemple #3
0
 public ClientController(IClientCommandService command, IClientQueryService query)
 {
     _command = command;
     _query   = query;
 }