public virtual async ValueTask Execute(IExecutionContext executionContext, CancellationToken token) { if (executionContext is null) { throw new ArgumentNullException(nameof(executionContext)); } var sendId = SendIdExpressionEvaluator is not null ? await SendIdExpressionEvaluator.EvaluateString(executionContext, token).ConfigureAwait(false) : SendId; if (string.IsNullOrEmpty(sendId)) { throw new ExecutionException(Resources.Exception_SendIdIsEmpty); } await executionContext.Cancel(Xtate.SendId.FromString(sendId), token).ConfigureAwait(false); }