예제 #1
0
 public static string CreateResourceUrl(Assembly assembly, string resourceName, string contentType)
 {
     return(PathHelper.TranslateAbsolutePath("~/_$res$_.axd/" + UrlHelper.EncodeToUrl(contentType) + "/" + UrlHelper.EncodeToUrl(assembly.GetName().Name) + '/' + UrlHelper.EncodeToUrl(resourceName)));
 }