From bbd57217f2dd9c27ff9ec48443a91dca68604505 Mon Sep 17 00:00:00 2001 From: mikary Date: Tue, 7 Jul 2015 14:40:20 -0700 Subject: [PATCH] React to API change in DependencyInjection --- .../DataProtectionConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.DataProtection/DataProtectionConfiguration.cs b/src/Microsoft.AspNet.DataProtection/DataProtectionConfiguration.cs index 71864269d4..c8af02a98d 100644 --- a/src/Microsoft.AspNet.DataProtection/DataProtectionConfiguration.cs +++ b/src/Microsoft.AspNet.DataProtection/DataProtectionConfiguration.cs @@ -82,7 +82,7 @@ namespace Microsoft.AspNet.DataProtection /// Registrations are additive. The factory is registered as . /// public DataProtectionConfiguration AddKeyEscrowSink() - where TImplementation : IKeyEscrowSink + where TImplementation : class, IKeyEscrowSink { Services.AddSingleton(); return this;