Mercurial > pub > RazorEngine
annotate README.markdown @ 3:91d78452a4a0 default tip
sync
author | cin |
---|---|
date | Thu, 12 Feb 2015 00:20:38 +0300 |
parents | 5bca2d201ad8 |
children |
rev | line source |
---|---|
0 | 1 RazorEngine |
2 =========== | |
3 | |
4 A templating engine built on Microsoft's Razor parsing engine, RazorEngine allows you to use Razor syntax to build dynamic templates: | |
5 | |
6 string template = "Hello @Model.Name, welcome to RazorEngine!"; | |
7 string result = Razor.Parse(template, new { Name = "World" }); |