6 implementations of Deserialize
Microsoft.Extensions.Caching.Hybrid (3)
Internal\DefaultJsonSerializerFactory.cs (1)
21
T IHybridCacheSerializer<T>.
Deserialize
(ReadOnlySequence<byte> source)
Internal\InbuiltTypeSerializer.cs (2)
19
string IHybridCacheSerializer<string>.
Deserialize
(ReadOnlySequence<byte> source)
25
byte[] IHybridCacheSerializer<byte[]>.
Deserialize
(ReadOnlySequence<byte> source)
Microsoft.Extensions.Caching.Hybrid.Tests (3)
ServiceConstructionTests.cs (1)
243
Customer IHybridCacheSerializer<Customer>.
Deserialize
(ReadOnlySequence<byte> source) => throw new NotSupportedException();
SizeTests.cs (2)
288
public MutablePoco
Deserialize
(ReadOnlySequence<byte> source)
331
public ImmutablePoco
Deserialize
(ReadOnlySequence<byte> source)
2 references to Deserialize
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.MutableCacheItem.cs (1)
41
value = serializer is null ? _fallbackValue! : serializer.
Deserialize
(_buffer.AsSequence());
Internal\DefaultHybridCache.StampedeStateT.cs (1)
386
immutable.SetValue(serializer.
Deserialize
(new(value.Array!, 0, value.Length)), value.Length);