4 writes to Value
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 };
7 references to Value
Microsoft.Extensions.Caching.Hybrid.Tests (7)
SizeTests.cs (7)
127Assert.Equal(expected, actual.Value); 135Assert.Equal(expected, actual.Value); 140Assert.NotEqual(expected, actual.Value); 182Assert.Equal(value, first.Value); 183Assert.Equal(value, second.Value); 303if (value.Value == "write fail") 308InbuiltTypeSerializer.SerializeString(value.Value, target);