20 writes to FileProvider
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationBuilderExtensions.cs (1)
52
source.
FileProvider
= new PhysicalFileProvider(directoryPath);
Microsoft.Extensions.Configuration.KeyPerFile.Tests (19)
ConfigurationProviderCommandLineTest.cs (1)
24
FileProvider
= new TestFileProvider(testFiles.ToArray())
KeyPerFileTests.cs (18)
47
.AddKeyPerFile(o => o.
FileProvider
= testFileProvider)
63
.AddKeyPerFile(o => o.
FileProvider
= testFileProvider)
79
.AddKeyPerFile(o => o.
FileProvider
= testFileProvider)
98
o.
FileProvider
= testFileProvider;
117
.AddKeyPerFile(o => o.
FileProvider
= testFileProvider)
136
o.
FileProvider
= testFileProvider;
157
o.
FileProvider
= testFileProvider;
176
o.
FileProvider
= testFileProvider;
197
o.
FileProvider
= testFileProvider;
215
.AddKeyPerFile(o => o.
FileProvider
= testFileProvider)
252
o.
FileProvider
= testFileProvider;
278
o.
FileProvider
= testFileProvider;
301
o.
FileProvider
= testFileProvider;
326
o.
FileProvider
= testFileProvider;
356
o.
FileProvider
= testFileProvider;
380
o.
FileProvider
= testFileProvider;
405
FileProvider
= testFileProvider,
416
configurationSource.
FileProvider
= null;
5 references to FileProvider
Microsoft.Extensions.Configuration.KeyPerFile (5)
KeyPerFileConfigurationProvider.cs (5)
29
if (Source.ReloadOnChange && Source.
FileProvider
!= null)
32
() => Source.
FileProvider
.Watch("*"),
62
if (Source.
FileProvider
== null)
74
var directory = Source.
FileProvider
.GetDirectoryContents("/");
110
=> Source.
FileProvider
?.GetFileInfo("/")?.PhysicalPath ?? "<Unknown>";