annotate README.markdown @ 0:5bca2d201ad8

initial commit
author cin
date Sun, 24 Aug 2014 11:14:55 +0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5bca2d201ad8 initial commit
cin
parents:
diff changeset
1 RazorEngine
5bca2d201ad8 initial commit
cin
parents:
diff changeset
2 ===========
5bca2d201ad8 initial commit
cin
parents:
diff changeset
3
5bca2d201ad8 initial commit
cin
parents:
diff changeset
4 A templating engine built on Microsoft's Razor parsing engine, RazorEngine allows you to use Razor syntax to build dynamic templates:
5bca2d201ad8 initial commit
cin
parents:
diff changeset
5
5bca2d201ad8 initial commit
cin
parents:
diff changeset
6 string template = "Hello @Model.Name, welcome to RazorEngine!";
5bca2d201ad8 initial commit
cin
parents:
diff changeset
7 string result = Razor.Parse(template, new { Name = "World" });