From eeb408a300939ef4781ff270462e6be162c2ffc8 Mon Sep 17 00:00:00 2001 From: Alastair Crabtree Date: Wed, 20 Mar 2019 21:56:35 +0000 Subject: [PATCH] task: undo deprecating default constructor Fixes #44 --- LazyCache/CachingService.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/LazyCache/CachingService.cs b/LazyCache/CachingService.cs index f2d51ed..1bd5305 100644 --- a/LazyCache/CachingService.cs +++ b/LazyCache/CachingService.cs @@ -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) { }