예제 #1
0
 protected void InterruptActiveCall(CallInfo connection)
 {
     connection.Duration = DateTime.Now - connection.Started;
     InterruptConnection(connection);
 }
예제 #2
0
 public void AddCallInfo(CallInfo callInfo)
 {
     _callCollection.Add(callInfo);
     OnCallInfoAdded(this, callInfo);
 }
예제 #3
0
 protected virtual void OnCallInfoAdded(object sender, CallInfo e)
 {
     CallInfoAdded?.Invoke(sender, e);
 }