private void OnEscalationSuccessful(EscalationGoal escalationGoal, object sender, EventArgs e) { if (EscalationSuccessful != null) { EscalationSuccessful(escalationGoal, sender, e); } }
private void OnEscalationCancelled(EscalationGoal escalationGoal, object sender, EventArgs e) { if (EscalationCancelled != null) { EscalationCancelled(escalationGoal, sender, e); } }
private void OnEscalationStarting(EscalationGoal escalationGoal, object sender, EventArgs e) { if (EscalationStarting != null) { EscalationStarting(escalationGoal, sender, e); } }
/// <summary> /// Resets EscalationGoal property. /// </summary> private void ResetEscalationGoal() { escalationGoal = EscalationGoal.StartAnotherApplication; }