/*
* *******************************************************
*
* 作者:hzy
*
* 开源地址:https://gitee.com/hzy6
*
* *******************************************************
*/
namespace MiaoYu.Core.Razor.Services
{
public interface IRazorViewRender : ITransientDependency
{
///
/// 渲染 razor cshtml
///
/// 例如: /wwwroot/Root/Service.cshtml
///
///
Task RenderAsync(string viewName, object model);
///
/// 渲染 razor cshtml
///
/// 例如: /wwwroot/Root/Service.cshtml
///
///
Task RenderByDictionaryAsync(string viewName, Dictionary viewData);
///
/// 渲染 razor cshtml
///
/// 例如: /wwwroot/Root/Service.cshtml
///
///
///
Task RenderAsync(string viewName, object model, Dictionary viewData);
}
}