diff --git a/README.md b/README.md index 32f3c35c..b06fc3d6 100644 --- a/README.md +++ b/README.md @@ -88,15 +88,15 @@ For applications that use [dependency injection](https://en.wikipedia.org/wiki/D ```C# // in your Startup.cs: -services.AddSingleton(_ => new PostgresDistributedSynchronizationProvider(myConnectionString)); +services.AddSingleton(_ => new PostgresDistributedSynchronizationProvider(myConnectionString)); services.AddTransient(); // in SomeService.cs public class SomeService { - private readonly PostgresDistributedSynchronizationProvider _synchronizationProvider; + private readonly IDistributedLockProvider _synchronizationProvider; - public SomeService(PostgresDistributedSynchronizationProvider synchronizationProvider) + public SomeService(IDistributedLockProvider synchronizationProvider) { this._synchronizationProvider = synchronizationProvider; }