public UpdatePrisonerViewModel(IEventAggregator eventAggregator, IPrisonerEndpoint prisonerEndpoint, ICellEndpoint cellEndpoint)
 {
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _prisonerEndpoint = prisonerEndpoint;
     _cellEndpoint     = cellEndpoint;
 }
Exemplo n.º 2
0
 public AddPrisonerViewModel(IEventAggregator eventAggregator, IPrisonerEndpoint prisonerEndpoint, ICellEndpoint cellEndpoint)
 {
     _eventAggregator  = eventAggregator;
     _prisonerEndpoint = prisonerEndpoint;
     _cellEndpoint     = cellEndpoint;
 }
Exemplo n.º 3
0
 public PrisonerViewModel(IPrisonerEndpoint prisonerEndpoint, IEventAggregator eventAggregator)
 {
     _prisonerEndpoint = prisonerEndpoint;
     _eventAggregator  = eventAggregator;
     _eventAggregator.Subscribe(this);
 }