Skip to content

Commit 94f5077

Browse files
Adjusted examples and ViewEngines to new style of compiled template code
1 parent 44f11b5 commit 94f5077

28 files changed

+1315
-1099
lines changed

Compiler/CodeGeneration/CompilationState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class CompilationState
1616
private int line { get; set; }
1717
private int column { get; set; }
1818
private Stack<List<StatementSyntax>> resultStack { get; set; } = new Stack<List<StatementSyntax>>();
19-
private List<string> usings { get; set; } = new List<string>() { "System", "System.Linq", "System.Net", "System.Text", "System.Collections.Generic" };
19+
private List<string> usings { get; set; } = new List<string>() { "System", "System.Linq", "System.Net", "System.Text", "System.Collections.Generic", "System.Threading.Tasks" };
2020
internal int LoopLevel { get; set; } = 0;
2121
internal RoslynIntrospector Introspector { get; set; }
2222
internal HandlebarsTemplate Template { get; private set; }

0 commit comments

Comments
 (0)