public OrdersViewModel(Repository repository, IEventAggregator eventAggregator, IBusyWatcher busyWatcher, IWindowManager windowManager)
 {
     _repository      = repository;
     _eventAggregator = eventAggregator;
     _busyWatcher     = busyWatcher;
     _windowManager   = windowManager;
     _eventAggregator.Subscribe(this);
 }
Exemplo n.º 2
0
 public CustomersViewModel(Repository repository, IEventAggregator eventAggregator, IBusyWatcher busyWatcher, IWindowManager windowManager)
     : this()
 {
     _repository      = repository;
     _eventAggregator = eventAggregator;
     _busyWatcher     = busyWatcher;
     _windowManager   = windowManager;
 }
Exemplo n.º 3
0
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     this.parent = parent;
     this.parent.AddWatch();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new BusyWatcherTicket instance.
 /// </summary>
 /// <param name="parent">The BusyWatcher owning the ticket.</param>
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     _parent = parent;
     _parent.AddWatch();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new BusyWatcherTicket instance.
 /// </summary>
 /// <param name="parent">The BusyWatcher owning the ticket.</param>
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     _parent = parent;
     _parent.AddWatch();
 }
Exemplo n.º 6
0
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     this.parent = parent;
     this.parent.AddWatch();
 }