示例#1
0
 void MonitoredConversationTerminated(object sender, EventArgs e)
 {
     IsMonitoring = false;
     foreach (var agent in _agents)
     {
         agent.IsMonitoring = false;
     }
     MonitoredConversation.Terminated -= MonitoredConversationTerminated;
     MonitoredConversation             = null;
 }
示例#2
0
 private void AvmMonitored(object sender, MonitoredEventArgs e)
 {
     MonitoredConversation             = new SupervisorConversationViewModel(e.MonitoringChannel);
     MonitoredConversation.Terminated += MonitoredConversationTerminated;
 }