示例#1
0
 internal Operation(
     [NotNull] Func <CancellationToken, Task <TResult> > expression,
     [CanBeNull] OperationNotification notification,
     [CanBeNull] OperationCondition condition)
 {
     _expression  = expression;
     Notification = notification;
     Condition    = condition;
 }
示例#2
0
        public IOperationBuilder WithNotification(OperationNotification notification)
        {
            _notification = notification;

            return(this);
        }