Пример #1
0
 public static string Parse <T>(this IRazorEngineService item,
                                FileInfo fileInfo, T model = null, DynamicViewBag viewBag = null) where T : class =>
 item.Parse(true, fileInfo, model, viewBag);
Пример #2
0
 public static string Parse <T>(this IRazorEngineService item,
                                string path, T model = null, DynamicViewBag viewBag = null) where T : class =>
 item.Parse(false, new FileInfo(path), model, viewBag);