public QueueViewModel Subscribe(QueueViewModel subscriber)
 {
     DisposeRequest += subscriber.Dispose;
     subscriber.Publish(this);
     subscriber.Initialize();
     return(subscriber);
 }
Пример #2
0
 public static QueueViewModel BindToMainModel(this QueueViewModel model)
 {
     return(VendingMachineViewModel.Current.Subscribe(model));
 }