4 writes to Value
Microsoft.Extensions.Caching.Hybrid.Tests (4)
SizeTests.cs (4)
124
var actual = await cache.GetOrCreateAsync<MutablePoco>(key!, ct => new(new MutablePoco {
Value
= expected }));
130
actual = await cache.GetOrCreateAsync<MutablePoco>(key!, ct => new(new MutablePoco {
Value
= Guid.NewGuid().ToString() }));
171
return new(new MutablePoco {
Value
= value });
297
return new MutablePoco {
Value
= value };
7 references to Value
Microsoft.Extensions.Caching.Hybrid.Tests (7)
SizeTests.cs (7)
127
Assert.Equal(expected, actual.
Value
);
135
Assert.Equal(expected, actual.
Value
);
140
Assert.NotEqual(expected, actual.
Value
);
182
Assert.Equal(value, first.
Value
);
183
Assert.Equal(value, second.
Value
);
303
if (value.
Value
== "write fail")
308
InbuiltTypeSerializer.SerializeString(value.
Value
, target);