Correct verbiage regarding interface inheritance

pull/12871/head
Scott Addie 2019-06-13 13:11:01 -05:00 committed by GitHub
parent d3251a9c38
commit cf1d3788cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -139,8 +139,7 @@ To configure the EF Core provider, call the [`PersistKeysToDbContext<TContext>`]
[!code-csharp[Main](key-storage-providers/sample/Startup.cs?name=snippet&highlight=13-15)]
The generic parameter, `TContext`, must inherit from [DbContext](/dotnet/api/microsoft.entityframeworkcore.dbcontext) and
[IDataProtectionKeyContext](/dotnet/api/microsoft.aspnetcore.dataprotection.entityframeworkcore.idataprotectionkeycontext):
The generic parameter, `TContext`, must inherit from [DbContext](/dotnet/api/microsoft.entityframeworkcore.dbcontext) and implement [IDataProtectionKeyContext](/dotnet/api/microsoft.aspnetcore.dataprotection.entityframeworkcore.idataprotectionkeycontext):
[!code-csharp[Main](key-storage-providers/sample/MyKeysContext.cs)]