Compartilhar via


IHybridCacheBuilder Interface

Definition

Helper API for configuring HybridCache.

public interface class IHybridCacheBuilder
public interface IHybridCacheBuilder
type IHybridCacheBuilder = interface
Public Interface IHybridCacheBuilder

Properties

Services

Gets the services collection associated with this instance.

Extension Methods

AddSerializer<T>(IHybridCacheBuilder, IHybridCacheSerializer<T>)

Serialize values of type T with the specified serializer from serializer.

AddSerializer<T,TImplementation>(IHybridCacheBuilder)

Serialize values of type T with the serializer of type TImplementation.

AddSerializerFactory(IHybridCacheBuilder, IHybridCacheSerializerFactory)

Add factory as an additional serializer factory, which can provide serializers for multiple types.

AddSerializerFactory<TImplementation>(IHybridCacheBuilder)

Add a factory of type TImplementation as an additional serializer factory, which can provide serializers for multiple types.

Applies to