Пример #1
0
        private Task InvokeLogical(OutgoingLogicalContext context)
        {
            if (this.executingLogicalPipeline.Count == 0)
            {
                return(Task.FromResult(0));
            }

            IOutgoingLogicalStep step = this.executingLogicalPipeline.Dequeue();

            return(step.Invoke(context, () => this.InvokeLogical(context)));
        }
Пример #2
0
        Task InvokeLogical(OutgoingLogicalContext context)
        {
            if (executingLogicalPipeline.Count == 0)
            {
                return(Task.CompletedTask);
            }

            IOutgoingLogicalStep step = executingLogicalPipeline.Dequeue();

            return(step.Invoke(context, () => InvokeLogical(context)));
        }