コード例 #1
0
ファイル: PiczUrlHelper.cs プロジェクト: Steve-Fenton/PICZ
        public static string PiczUrl(this UrlHelper helper, string url, string hash = "")
        {
            var options = PiczOptions.Load();
            var size    = options.Sizes.OrderByDescending(s => s).FirstOrDefault();

            return(PiczUrl(helper, url, size, hash));
        }
コード例 #2
0
 public static MvcHtmlString PiczBackground(this HtmlHelper helper, string url, string id, string hash = "")
 {
     return(PiczBackground(helper, url, id, PiczOptions.Load(), hash));
 }
コード例 #3
0
 public static MvcHtmlString Picz(this HtmlHelper helper, string url, string sizes, object htmlAttributes, string hash = "")
 {
     return(Picz(helper, url, sizes, PiczOptions.Load(), htmlAttributes, hash));
 }