예제 #1
0
 public void Rejected(object o, EventArgs e)
 {
     Terminal.ToAnswerCall   -= Answered;
     Terminal.ToRejectCall   -= Rejected;
     Terminal.ToNoAnswerCall -= NoAnswered;
     Mode = Enums.Mode.Free;
     RejectEvent?.Invoke(this, null);
 }
예제 #2
0
 private void OnEndCallEvent(int number)
 {
     RejectEvent?.Invoke(this, new RejectEventArgs(Number));
 }
예제 #3
0
 private void Reject(object sender, RejectEventArgs e)
 {
     RejectEvent?.Invoke(this, e);
 }
예제 #4
0
파일: Terminal.cs 프로젝트: Dloz/EpamTasks
 /// <summary>
 /// Method to reject active or incoming call.
 /// </summary>
 public void Reject()
 {
     RejectEvent?.Invoke(this, new RejectEventArgs(Number, _incomingCallId));
 }