21 writes to InitialData
Microsoft.AspNetCore.Components.WebAssembly.Tests (10)
Hosting\WebAssemblyHostConfigurationTest.cs (10)
23var memoryConfig = new MemoryConfigurationSource { InitialData = initialData }; 42var source1 = new MemoryConfigurationSource { InitialData = initialData }; 66var memoryConfig = new MemoryConfigurationSource { InitialData = initialData }; 91var memoryConfig = new MemoryConfigurationSource { InitialData = initialData }; 111var memoryConfig = new MemoryConfigurationSource { InitialData = initialData }; 150var memConfigSrc1 = new MemoryConfigurationSource { InitialData = dic1 }; 151var memConfigSrc2 = new MemoryConfigurationSource { InitialData = dic2 }; 152var memConfigSrc3 = new MemoryConfigurationSource { InitialData = dic3 }; 194var memConfigSrc1 = new MemoryConfigurationSource { InitialData = dic1 }; 195var memConfigSrc2 = new MemoryConfigurationSource { InitialData = dic2 };
Microsoft.Extensions.Configuration (1)
MemoryConfigurationBuilderExtensions.cs (1)
40configurationBuilder.Add(new MemoryConfigurationSource { InitialData = initialData });
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
ConfigurationProviderTestBase.cs (1)
349InitialData = values
Microsoft.Extensions.Hosting.Testing (2)
FakeConfigurationSource.cs (1)
13InitialData = initialData;
FakeHostingExtensions.cs (1)
182source.InitialData = source.InitialData!.Concat(new[] { new KeyValuePair<string, string?>(key, value) });
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
DnsSrvServiceEndpointResolverTests.cs (1)
166InitialData = new Dictionary<string, string?>
Microsoft.Extensions.ServiceDiscovery.Tests (6)
ConfigurationServiceEndpointResolverTests.cs (3)
279InitialData = new Dictionary<string, string?> 342InitialData = new Dictionary<string, string?> 387InitialData = new Dictionary<string, string?>
PassThroughServiceEndpointResolverTests.cs (3)
48InitialData = new Dictionary<string, string?> 81InitialData = new Dictionary<string, string?> 115InitialData = new Dictionary<string, string?>
11 references to InitialData
Microsoft.Extensions.Configuration (2)
MemoryConfigurationProvider.cs (2)
27if (_source.InitialData != null) 29foreach (KeyValuePair<string, string?> pair in _source.InitialData)
Microsoft.Extensions.Hosting.Testing (1)
FakeHostingExtensions.cs (1)
182source.InitialData = source.InitialData!.Concat(new[] { new KeyValuePair<string, string?>(key, value) });
Microsoft.Extensions.Hosting.Testing.Tests (8)
FakeConfigurationSourceTests.cs (2)
19configSource.InitialData!, 37Assert.Empty(configSource.InitialData!);
HostingFakesExtensionsTests.cs (6)
143((FakeConfigurationSource)source).InitialData!, 169((FakeConfigurationSource)source).InitialData!, 198((FakeConfigurationSource)source).InitialData!, 229((FakeConfigurationSource)source).InitialData!, 255((FakeConfigurationSource)source).InitialData!, 284((FakeConfigurationSource)source).InitialData!,