次の方法で共有


HybridCacheBuilderExtensions Class

Definition

Configuration extension methods for IHybridCacheBuilder / HybridCache.

public ref class HybridCacheBuilderExtensions abstract sealed
public static class HybridCacheBuilderExtensions
type HybridCacheBuilderExtensions = class
Public Module HybridCacheBuilderExtensions
Inheritance
HybridCacheBuilderExtensions

Methods

AddSerializer<T,TImplementation>(IHybridCacheBuilder)

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

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

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

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