Skip to content

Commit cc1d273

Browse files
Merge pull request #32 from IowaComputerGurus/feature/correcting-di
Correcting DI for derived key encryption service
2 parents 179fa4d + b1b227a commit cc1d273

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NetCore.Utilities/DependencyResolution/StartupExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ public static void UseIcgNetCoreUtilities(this IServiceCollection services, ICon
2525
services.AddTransient<IFileProvider, FileProvider>();
2626
services.AddTransient<IDirectoryProvider, DirectoryProvider>();
2727
services.AddTransient<IAesEncryptionService, AesEncryptionService>();
28-
28+
services.AddTransient<IAesDerivedKeyEncryptionService, AesDerivedKeyEncryptionService>();
2929
services.Configure<AesEncryptionServiceOptions>(configuration.GetSection(nameof(AesEncryptionServiceOptions)));
30+
services.Configure<AesDerivedKeyEncryptionServiceOptions>(configuration.GetSection(nameof(AesDerivedKeyEncryptionServiceOptions)));
3031

3132
}
3233
}

0 commit comments

Comments
 (0)