Esempio n. 1
0
 internal Operation(
     [NotNull] Func <CancellationToken, Task <TResult> > expression,
     [CanBeNull] OperationNotification notification,
     [CanBeNull] OperationCondition condition)
 {
     _expression  = expression;
     Notification = notification;
     Condition    = condition;
 }
Esempio n. 2
0
        public IOperationBuilder WithCondition(OperationCondition condition)
        {
            _condition = condition;

            return(this);
        }