2 instantiations of ImmutablePoco
Microsoft.Extensions.Caching.Hybrid.Tests (2)
SizeTests.cs (2)
237
return new(new
ImmutablePoco
(value));
340
return new
ImmutablePoco
(value);
7 references to ImmutablePoco
Microsoft.Extensions.Caching.Hybrid.Tests (7)
SizeTests.cs (7)
223
var serializer = new
ImmutablePoco
.Serializer();
234
Func<CancellationToken, ValueTask<
ImmutablePoco
>> func = _ =>
246
var
first = await cache.GetOrCreateAsync("key", func);
247
var
second = await cache.GetOrCreateAsync("key", func);
323
public sealed class Serializer : IHybridCacheSerializer<
ImmutablePoco
>
331
public
ImmutablePoco
Deserialize(ReadOnlySequence<byte> source)
343
public void Serialize(
ImmutablePoco
value, IBufferWriter<byte> target)