コード例 #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)));
        }
コード例 #3
0
        IOutgoingLogicalStepRegisterer IOutgoingLogicalStepRegisterer.Register(IOutgoingLogicalStep step)
        {
            this.registeredlogicalPipelineSteps.Enqueue(step);

            return(this);
        }
コード例 #4
0
        IOutgoingLogicalStepRegisterer IOutgoingLogicalStepRegisterer.Register(IOutgoingLogicalStep step)
        {
            registeredlogicalPipelineSteps.Enqueue(step);

            return this;
        }