コード例 #1
0
 public OrdersViewModel(Repository repository, IEventAggregator eventAggregator, IBusyWatcher busyWatcher, IWindowManager windowManager)
 {
     _repository      = repository;
     _eventAggregator = eventAggregator;
     _busyWatcher     = busyWatcher;
     _windowManager   = windowManager;
     _eventAggregator.Subscribe(this);
 }
コード例 #2
0
 public CustomersViewModel(Repository repository, IEventAggregator eventAggregator, IBusyWatcher busyWatcher, IWindowManager windowManager)
     : this()
 {
     _repository      = repository;
     _eventAggregator = eventAggregator;
     _busyWatcher     = busyWatcher;
     _windowManager   = windowManager;
 }
コード例 #3
0
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     this.parent = parent;
     this.parent.AddWatch();
 }
コード例 #4
0
ファイル: BusyWatcher.cs プロジェクト: ValdimarThor/Cocktail
 /// <summary>
 /// Initializes a new BusyWatcherTicket instance.
 /// </summary>
 /// <param name="parent">The BusyWatcher owning the ticket.</param>
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     _parent = parent;
     _parent.AddWatch();
 }
コード例 #5
0
ファイル: BusyWatcher.cs プロジェクト: markgould/Punch
 /// <summary>
 /// Initializes a new BusyWatcherTicket instance.
 /// </summary>
 /// <param name="parent">The BusyWatcher owning the ticket.</param>
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     _parent = parent;
     _parent.AddWatch();
 }
コード例 #6
0
 public BusyWatcherTicket(IBusyWatcher parent)
 {
     this.parent = parent;
     this.parent.AddWatch();
 }