Implemented interface member:
method
RunWithCache
Microsoft.DotNet.Configurer.IUserLevelCacheWriter.RunWithCache(System.String, System.Func<System.String>)
6 references to RunWithCache
dotnet.Tests (6)
ConfigurerTests\GivenAFunctionReturnStringAndFakeFileSystem.cs (6)
33
_userLevelCacheWriter.
RunWithCache
("fooKey", () => "foo").Should().Be("foo");
46
_userLevelCacheWriter.
RunWithCache
("fookey", func).Should().Be("foo");
47
_userLevelCacheWriter.
RunWithCache
("fookey", func).Should().Be("foo");
54
_userLevelCacheWriter.
RunWithCache
("fooKey", () => "foo");
87
systemUndertest.
RunWithCache
("fookey", func).Should().Be("foo");
88
systemUndertest.
RunWithCache
("fookey", func).Should().Be("foo");