StoryTeller.Engine.SpecRunner.RunningState C# (CSharp) Méthode

RunningState() public méthode

public RunningState ( ) : QueueState
Résultat StoryTeller.Messages.QueueState
        public QueueState RunningState()
        {
            // Empty running state
            if (!IsRunning()) return new QueueState();

            var state = new QueueState
            {
                running = Current.Request.Id,
                Mode = Current.Mode
            };

            if (Current is StepthroughExecution)
            {
                state.Stepthrough = Current
                    .As<StepthroughExecution>()
                    .State();
            }

            return state;
        }