/// <summary> /// Execute the action, hold the result, and potentially respond. /// </summary> protected override void RunAction() { Result = Action(ConditionParam); if (!ReferenceEquals(null, ResultFilter) && ResultFilter.Equals(Result)) { Response(); } }
/// <summary> /// Execute the action, hold the result, and potentially respond. /// </summary> protected override void RunAction() { Result = Action(CancellationToken); if (!CancellationToken.IsCancellationRequested && ResultFilter != null && ResultFilter.Equals(Result)) { Response(); } }