Exemplo n.º 1
0
 /// <summary>
 /// Initialises a new instance of <see cref="CSharpCodeParser"/>.
 /// </summary>
 public CSharpCodeParser()
 {
     RazorKeywords.Add("model", WrapSimpleBlockParser(BlockType.Directive, ParseModelStatement));
 }
 public MvcCSharpRazorCodeParser()
 {
     RazorKeywords.Add(ModelKeyword, WrapSimpleBlockParser(BlockType.Directive, ParseModelStatement));
 }
 public OpenRastaCSharpRazorCodeParser()
 {
     RazorKeywords.Add(ResourceKeyword, WrapSimpleBlockParser(BlockType.Directive, ParseResourceStatement));
 }