Table of Contents

Interface IDistributedCacheSerializerFactory

Namespace
Acuit.Pinpoint.ResourceManagement
Assembly
Acuit.Pinpoint.ResourceManagement.Abstractions.dll

Factory provider for per-type IDistributedCacheSerializer<T> instances.

public interface IDistributedCacheSerializerFactory

Methods

TryCreateSerializer<T>(out IDistributedCacheSerializer<T>?)

Requests a serializer for the provided type, if possible.

bool TryCreateSerializer<T>(out IDistributedCacheSerializer<T>? serializer)

Parameters

serializer IDistributedCacheSerializer<T>

The serializer.

Returns

bool

true if the factory supports this type, false otherwise.

Type Parameters

T

The type being serialized or deserialized.