Ancestry.Daisy.Tests.Daisy.Component.DomainExecutions.ItExecutesStatements C# (CSharp) 메소드

ItExecutesStatements() 개인적인 메소드

private ItExecutesStatements ( string code, User data ) : bool
code string
data Ancestry.Daisy.Tests.Daisy.Component.Domain.User
리턴 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;
        }