React to API change in DependencyInjection
This commit is contained in:
parent
e332375f0e
commit
bbd57217f2
|
|
@ -82,7 +82,7 @@ namespace Microsoft.AspNet.DataProtection
|
|||
/// Registrations are additive. The factory is registered as <see cref="ServiceLifetime.Singleton"/>.
|
||||
/// </remarks>
|
||||
public DataProtectionConfiguration AddKeyEscrowSink<TImplementation>()
|
||||
where TImplementation : IKeyEscrowSink
|
||||
where TImplementation : class, IKeyEscrowSink
|
||||
{
|
||||
Services.AddSingleton<IKeyEscrowSink, TImplementation>();
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue