public ChatMsgSendViewModel(
     ChatMsgSendToolBarViewModel chatMsgSendToolBar,
     IEventAggregator eventAggregator)
 {
     ChatMsgSendToolBar   = chatMsgSendToolBar;
     this.EventAggregator = eventAggregator;
     this.ChatMsgSendToolBar.AddItems(
         ChatMsgSendToolItemViewModel.GetChatMsgSendToolItems(this.EventAggregator));
 }
Пример #2
0
 public void AddItem(ChatMsgSendToolItemViewModel item)
 {
     this.ChatMsgSendToolItems.Add(item);
 }