Beispiel #1
0
 public static bool CanCache(Type type)
 => CacheObjectsAttribute.IsEnabled(type) ?? Database.Configuration.Cache.Enabled;
Beispiel #2
0
 public static bool CanCache(Type type)
 {
     return(CacheObjectsAttribute.IsEnabled(type) ?? _IsCachingEnabled);
 }
Beispiel #3
0
 public static bool CanCache(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? IsCachingEnabled;
Beispiel #4
0
 public bool IsCacheable(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? ProviderConfig.Configuration.Cache.Enabled;