Mercurial > pub > RazorEngine
annotate README.markdown @ 0:5bca2d201ad8
initial commit
author | cin |
---|---|
date | Sun, 24 Aug 2014 11:14:55 +0400 |
parents | |
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" }); |