DotNetHelper-Caching by Joseph McNeal Jr

<PackageReference Include="DotNetHelper-Caching" Version="2018.6.2.4" />

 CacheRepository

public TimeSpan ExpirationTime { get; }

public CacheRepository(ICacheService cacheManager, CachingMethodology cachingMethodology, TimeSpan expirationTime)

public void ClearAllCache()

public void ClearCacheForType<T>()

public void DoAction<T>(ActionType action, T data)

public void DoAction<T>(ActionType action, IEnumerable<T> data)

public T GetDataOrDefault<T>(T defaultValue = null)

public IEnumerable<T> GetDataOrDefault<T>(IEnumerable<T> defaultValue = null)

public T GetFromCacheOrCallback<T>(Func<T> callbackToGetData)

public IEnumerable<T> GetFromCacheOrCallback<T>(Func<IEnumerable<T>> callbackToGetData)