HtmlHelpers.AddWebAssemblyHtmlHelper Class
Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to register Web Assemblies for dynamically loading.
Methods
AddWebAssembly
(IHtmlHelper, String) Method
AddWebAssembly (IHtmlHelper htmlHelper, String assemblyPath)
Register the specified WebAssembly to be dynamically loaded. Use the ~! prefix for the currently executing view path, or ~# for the currently executing extension.
Examples
@Html.AddWebAssembly("~#/bin/MyModule.wasm")
AddWebAssembly
(HttpContext, String, String) Method
AddWebAssembly (HttpContext context, String assemblyPath, String version)
Register the specified web assembly to be dynamically loaded by the browser.
GetCallerVersion
(IHtmlHelper) Method
GetCallerVersion (IHtmlHelper htmlHelper)
Return the version of the assembly which contains the calling controller action.
GetCoreVersion
GetCoreVersion ()
Return the version of the Nucleus core assemblies.
RenderWebAssemblies
(IHtmlHelper) Method
RenderWebAssemblies (IHtmlHelper htmlHelper)
Adds the scripts submitted by AddWebAssembly to the layout. This method is intended for use by the Nucleus Core layout.