System.Web.Mvc.HtmlHelpers.GetPublicUrl C# (CSharp) Méthode

GetPublicUrl() private static méthode

private static GetPublicUrl ( this helper ) : string
helper this
Résultat string
        private static string GetPublicUrl(this HtmlHelper helper)
        {
            var urlHelper = new UrlHelper(helper.ViewContext.RequestContext);
            string appUrl = urlHelper.Content("~/");
            return appUrl + pubDir;
        }