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