4 instantiations of MutablePoco
Microsoft.Extensions.Caching.Hybrid.Tests (4)
SizeTests.cs (4)
124var actual = await cache.GetOrCreateAsync<MutablePoco>(key!, ct => new(new MutablePoco { Value = expected })); 130actual = await cache.GetOrCreateAsync<MutablePoco>(key!, ct => new(new MutablePoco { Value = Guid.NewGuid().ToString() })); 171return new(new MutablePoco { Value = value }); 297return new MutablePoco { Value = value };
10 references to MutablePoco
Microsoft.Extensions.Caching.Hybrid.Tests (10)
SizeTests.cs (10)
124var actual = await cache.GetOrCreateAsync<MutablePoco>(key!, ct => new(new MutablePoco { Value = expected })); 130actual = await cache.GetOrCreateAsync<MutablePoco>(key!, ct => new(new MutablePoco { Value = Guid.NewGuid().ToString() })); 157var serializer = new MutablePoco.Serializer(); 168Func<CancellationToken, ValueTask<MutablePoco>> func = _ => 180var first = await cache.GetOrCreateAsync("key", func); 181var second = await cache.GetOrCreateAsync("key", func); 280public sealed class Serializer : IHybridCacheSerializer<MutablePoco> 288public MutablePoco Deserialize(ReadOnlySequence<byte> source) 300public void Serialize(MutablePoco value, IBufferWriter<byte> target)