/// <summary> /// Adds a script file reference to the View for an Embedded Web Resource. /// </summary> /// <typeparam name="T">The Type whos Assembly contains the Web Resource.</typeparam> /// <param name="key">A unique identifier for the script file.</param> /// <param name="resourceName">The name of the Web Resource.</param> /// <returns>Returns the SimpleScriptManager</returns> public PageScriptManager ScriptInclude <T>(string key, string resourceName) { return(ScriptInclude(key, _webHelper.GetResourceUrl <T>(resourceName))); }