public PersonResourceService(
     IAllPeopleDataQuery allPeopleDataQuery,
     IAddPersonDataCommand addPersonDataCommand,
     IRemovePersonDataCommand removePersonDataCommand,
     ISaveChangesCommand saveChangesCommand)
 {
     _allPeopleDataQuery      = allPeopleDataQuery;
     _addPersonDataCommand    = addPersonDataCommand;
     _removePersonDataCommand = removePersonDataCommand;
     _saveChangesCommand      = saveChangesCommand;
 }
Example #2
0
 public CloseProjectCommand(IProjectController project, ISaveChangesCommand command)
 {
     this.command = command;
     this.project = project;
 }
Example #3
0
 public ExitCommand(IApplication application, IEventAggregator broker, ISaveChangesCommand command)
 {
     this.application = application;
     this.command = command;
     this.broker = broker;
 }
Example #4
0
 public OpenCommand(ISelectFileToOpenDialog view, IProjectController project, ISaveChangesCommand save_changes_command)
 {
     this.view = view;
     this.save_changes_command = save_changes_command;
     this.project = project;
 }