Esempio n. 1
0
 public QueueManagerViewModel(IQueueManagerView view, IApplicationController ac)
     : base(view, ac)
 {
     Queues    = new QueueListViewModel(this);
     Channels  = new ChannelListViewModel(this);
     Listeners = new ListenerListViewModel(this);
     BuildCommands();
 }
Esempio n. 2
0
 internal ChannelListStatusInfo(ChannelListViewModel clvm) : base()
 {
     Owner = clvm;
     WeakEventManager <SelectableItemCollection <ChannelInfo>, PropertyChangedEventArgs>
     .AddHandler(Owner.Channels, "CountChanged", Queues_CountChanged);
 }