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

MarkAsInvalid() public méthode

public MarkAsInvalid ( Exception ex ) : void
ex System.Exception
Résultat void
        public void MarkAsInvalid(Exception ex)
        {
            Status = SpecRunnerStatus.Invalid;

            ConsoleWriter.Write(ConsoleColor.Yellow,
                "Failed to create an execution context. No specifications can be processed until this is addressed");
            ConsoleWriter.Write(ConsoleColor.Red, ex.ToString());
            EventAggregator.SendMessage(new PassthroughMessage(new RuntimeError(ex)));
        }