annotate README.markdown @ 3:91d78452a4a0 default tip

sync
author cin
date Thu, 12 Feb 2015 00:20:38 +0300
parents 5bca2d201ad8
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" });