Exemplo n.º 1
0
        public IAsyncStep AddAsyncStep(int fromTaskNumber = -1)
        {
            var step      = this.Step++;
            var asyncStep = new AsyncStep(this.Emitter, step, fromTaskNumber);

            this.Steps.Add(asyncStep);

            return(asyncStep);
        }
Exemplo n.º 2
0
        public IAsyncStep AddAsyncStep(int fromTaskNumber = -1)
        {
            var step = this.Step++;
            var asyncStep = new AsyncStep(this.Emitter, step, fromTaskNumber);
            this.Steps.Add(asyncStep);

            return asyncStep;
        }