We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a0425 commit c6ff488Copy full SHA for c6ff488
README.md
@@ -169,7 +169,7 @@ output:
169
string content = @"Hello @A, @B, @Decorator(123)";
170
171
IRazorEngine razorEngine = new RazorEngine();
172
-IRazorEngineCompiledTemplate<CustomModel> template = razorEngine.Compile<CustomModel>(content);
+IRazorEngineCompiledTemplate<CustomTemplate> template = razorEngine.Compile<CustomTemplate>(content);
173
174
string result = template.Run(instance =>
175
{
@@ -180,7 +180,7 @@ string result = template.Run(instance =>
180
Console.WriteLine(result);
181
```
182
```cs
183
-public class CustomModel : RazorEngineTemplateBase
+public class CustomTemplate : RazorEngineTemplateBase
184
185
public int A { get; set; }
186
public string B { get; set; }
0 commit comments