コード例 #1
0
 public UpdatePrisonerViewModel(IEventAggregator eventAggregator, IPrisonerEndpoint prisonerEndpoint, ICellEndpoint cellEndpoint)
 {
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _prisonerEndpoint = prisonerEndpoint;
     _cellEndpoint     = cellEndpoint;
 }
コード例 #2
0
 public AddPrisonerViewModel(IEventAggregator eventAggregator, IPrisonerEndpoint prisonerEndpoint, ICellEndpoint cellEndpoint)
 {
     _eventAggregator  = eventAggregator;
     _prisonerEndpoint = prisonerEndpoint;
     _cellEndpoint     = cellEndpoint;
 }
コード例 #3
0
 public PrisonerViewModel(IPrisonerEndpoint prisonerEndpoint, IEventAggregator eventAggregator)
 {
     _prisonerEndpoint = prisonerEndpoint;
     _eventAggregator  = eventAggregator;
     _eventAggregator.Subscribe(this);
 }