9 references to Value
Microsoft.AspNetCore.Routing (1)
Matching\DataSourceDependentMatcher.cs (1)
31
internal Matcher CurrentMatcher => _cache.
Value
!;
Microsoft.AspNetCore.Routing.Tests (8)
DataSourceDependentCacheTest.cs (8)
28
Assert.Equal("hello, world!", cache.
Value
);
45
GC.KeepAlive(cache.
Value
);
49
Assert.Null(cache.
Value
);
66
Assert.Equal("hello, 1!", cache.
Value
);
73
Assert.Equal("hello, 2!", cache.
Value
);
94
Assert.Null(cache.
Value
);
111
Assert.Equal("hello, 1!", cache.
Value
);
118
Assert.Equal("hello, 1!", cache.
Value
); // Ignores update