Example #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);
        }
Example #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;
        }