We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c4d0db + ec37713 commit d192600Copy full SHA for d192600
1 file changed
src/Infrastructure/BotSharp.Core/BotSharpCoreExtensions.cs
@@ -49,6 +49,7 @@ private static void AddCacheServices(IServiceCollection services, IConfiguration
49
config.Bind("SharpCache", cacheSettings);
50
services.AddSingleton(x => cacheSettings);
51
52
+ services.AddSingleton<RedisCacheService>();
53
services.AddSingleton<ICacheService>(sp => cacheSettings.CacheType switch
54
{
55
CacheType.RedisCache => ActivatorUtilities.CreateInstance<RedisCacheService>(sp),
0 commit comments