Пример #1
0
 public string ToCacheKey <T>(T obj, CacheKeyOptions options = null) where T : class
 {
     return(obj.ToCacheKey(options));
 }
Пример #2
0
 public static string ToCacheKey <T>(this T filter, CacheKeyOptions options = null) where T : class
 {
     return(filter.ConvertToQuery(options ?? new CacheKeyOptions()));
 }