Exemplo n.º 1
0
 public static bool CanCache(Type type)
 => CacheObjectsAttribute.IsEnabled(type) ?? Database.Configuration.Cache.Enabled;
Exemplo n.º 2
0
 public static bool CanCache(Type type)
 {
     return(CacheObjectsAttribute.IsEnabled(type) ?? _IsCachingEnabled);
 }
Exemplo n.º 3
0
 public static bool CanCache(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? IsCachingEnabled;
Exemplo n.º 4
0
Arquivo: Cache.cs Projeto: tohfe/Olive
 public bool IsCacheable(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? ProviderConfig.Configuration.Cache.Enabled;