internal Operation( [NotNull] Func <CancellationToken, Task <TResult> > expression, [CanBeNull] OperationNotification notification, [CanBeNull] OperationCondition condition) { _expression = expression; Notification = notification; Condition = condition; }
public IOperationBuilder WithNotification(OperationNotification notification) { _notification = notification; return(this); }