System.Web.Mvc.UrlHelp.Script C# (CSharp) 메소드

Script() 공개 정적인 메소드

public static Script ( this helper, string path ) : string
helper this
path string
리턴 string
        public static string Script(this HtmlHelper helper, string path)
        {
            if (helper.ViewContext.HttpContext.IsDebuggingEnabled)
            {
                return path;
            }
            else
            {
                return path.Replace("/scripts/", "/scripts-pub/");
            }
        }
UrlHelp