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