Skip to content

Commit

Permalink
Fixes #319
Browse files Browse the repository at this point in the history
  • Loading branch information
jzabroski committed Mar 26, 2020
1 parent 2d9c031 commit bb0a99f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ var engine = new RazorLightEngineBuilder()
.UseEmbeddedResourcesProject(typeof(Program))
.UseMemoryCachingProvider()
.Build();

var model = new SchoolForAnts();
string result = await engine.CompileRenderAsync<object>("Views.Subfolder.SchoolForAnts", model, null);
````

## Custom source
Expand Down

0 comments on commit bb0a99f

Please sign in to comment.