public static async Task<RenderToStringResult> RenderToString(string applicationBasePath, INodeServices nodeServices, JavaScriptModuleExport bootModule, string requestAbsoluteUrl, string requestPathAndQuery) {
     return await nodeServices.InvokeExport<RenderToStringResult>(nodeScript.Value.FileName, "renderToString",
         applicationBasePath,
         bootModule,
         requestAbsoluteUrl,
         requestPathAndQuery);
 }
Exemple #2
0
 public static async Task <RenderToStringResult> RenderToString(string applicationBasePath, INodeServices nodeServices, JavaScriptModuleExport bootModule, string requestAbsoluteUrl, string requestPathAndQuery)
 {
     return(await nodeServices.InvokeExport <RenderToStringResult>(nodeScript.Value.FileName, "renderToString",
                                                                   applicationBasePath,
                                                                   bootModule,
                                                                   requestAbsoluteUrl,
                                                                   requestPathAndQuery));
 }