public QueueViewModel Subscribe(QueueViewModel subscriber) { DisposeRequest += subscriber.Dispose; subscriber.Publish(this); subscriber.Initialize(); return(subscriber); }
public static QueueViewModel BindToMainModel(this QueueViewModel model) { return(VendingMachineViewModel.Current.Subscribe(model)); }