JavaScriptResources Class

Summary

Methods for loading JavaScript from assembly embedded resources.

Syntax

public class JavaScriptResources

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.TagHelpers.Internal.JavaScriptResources

Methods

GetEmbeddedJavaScript(System.String)

Gets an embedded JavaScript file resource and decodes it for use as a .NET format string.

Arguments:
  • resourceName (System.String) –
Return type:

System.String

public static string GetEmbeddedJavaScript(string resourceName)