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