Skip to content

Commit

Permalink
task: undo deprecating default constructor
Browse files Browse the repository at this point in the history
Fixes #44
  • Loading branch information
alastairtree committed Mar 20, 2019
1 parent 2f7bb4a commit eeb408a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions LazyCache/CachingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ public class CachingService : IAppCache

private readonly SemaphoreSlim locker = new SemaphoreSlim(1, 1);

[Obsolete("LazyCache is designed for dependency injection, this constructor exists for " +
"backwards compatibility and will be removed at a later date. Consider depending " +
"on IAppCache rather than constructing manually. You may need to dispose of " +
"DefaultCacheProvider.Value if this is used.")]
public CachingService() : this(DefaultCacheProvider)
{
}
Expand Down

0 comments on commit eeb408a

Please sign in to comment.