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