Ancestry.Daisy.Tests.Daisy.Component.DomainExecutions.ItExecutesStatements C# (CSharp) Method

ItExecutesStatements() private method

private ItExecutesStatements ( string code, User data ) : bool
code string
data Ancestry.Daisy.Tests.Daisy.Component.Domain.User
return bool
        public bool ItExecutesStatements(string code, User data)
        {
            var execution = DaisyCompiler.Compile<User>(code, statements).Execute(data);
            Console.WriteLine(new DaisyTracePrinter(execution.DebugInfo.Trace).Print());
            return execution.Outcome;
        }