1 implementation of Services
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCacheBuilder.cs (1)
15
public IServiceCollection
Services
{ get; }
4 references to Services
Microsoft.Extensions.Caching.Hybrid (4)
HybridCacheBuilderExtensions.cs (4)
22
_ = Throw.IfNull(builder).
Services
.AddSingleton<IHybridCacheSerializer<T>>(serializer);
36
_ = Throw.IfNull(builder).
Services
.AddSingleton<IHybridCacheSerializer<T>, TImplementation>();
46
_ = Throw.IfNull(builder).
Services
.AddSingleton<IHybridCacheSerializerFactory>(factory);
59
_ = Throw.IfNull(builder).
Services
.AddSingleton<IHybridCacheSerializerFactory, TImplementation>();