protected void GivenSomeContentToCompile(string content)
 {
     _syntaxProvider = new CompletionSyntaxProvider();
     _context        = new VisitorContext
     {
         ViewFolder = new InMemoryViewFolder {
             { "Home\\index.spark", @"<div>${user.</div>" }
         }
     };
 }
Ejemplo n.º 2
0
 protected void GivenSomeContentToCompile(string content)
 {
     _syntaxProvider = new CompletionSyntaxProvider();
     _context = new VisitorContext
                    {ViewFolder = new InMemoryViewFolder {{"Home\\index.spark", @"<div>${user.</div>"}}};
 }