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));
 }