public string GetCacheKey(bool includeModifiedDate) { return(VirtualPath + PathUtils.BuildQueryString(query.Keep("width", "height", "w", "h", "maxwidth", "maxheight", "angle", "color1", "color2"))); }
/// <summary> /// Returns a new collection containing only the specified keys from the old one /// </summary> /// <param name="query"></param> /// <param name="keepKeys"></param> /// <returns></returns> public static NameValueCollection FilterQueryString(ResizeSettings query, params string[] keepKeys) { return(query.Keep(keepKeys)); }