Exemplo n.º 1
0
 public string ToCacheKey <T>(T obj, CacheKeyOptions options = null) where T : class
 {
     return(obj.ToCacheKey(options));
 }
Exemplo n.º 2
0
 public static string ToCacheKey <T>(this T filter, CacheKeyOptions options = null) where T : class
 {
     return(filter.ConvertToQuery(options ?? new CacheKeyOptions()));
 }