1 implementation of IPersistentComponentStateSerializer
Microsoft.AspNetCore.Components (1)
PersistentState\PersistentComponentStateSerializer.cs (1)
12public abstract class PersistentComponentStateSerializer<T> : IPersistentComponentStateSerializer
6 references to IPersistentComponentStateSerializer
Microsoft.AspNetCore.Components (6)
PersistentState\PersistentComponentStateSerializer.cs (2)
32void IPersistentComponentStateSerializer.Persist(Type type, object value, IBufferWriter<byte> writer) 38object IPersistentComponentStateSerializer.Restore(Type type, ReadOnlySequence<byte> data)
PersistentState\PersistentValueProviderComponentSubscription.cs (4)
19private static readonly ConcurrentDictionary<Type, IPersistentComponentStateSerializer?> _serializerCache = new(); 41private readonly IPersistentComponentStateSerializer? _customSerializer; 214private IPersistentComponentStateSerializer? SerializerFactory(Type type, IServiceProvider serviceProvider) 220return serializer as IPersistentComponentStateSerializer;