Implemented interface member:
method
AddConfiguration
Microsoft.Build.BackEnd.IConfigCache.AddConfiguration(Microsoft.Build.BackEnd.BuildRequestConfiguration)
32 references to AddConfiguration
Microsoft.Build (4)
BackEnd\BuildManager\CacheAggregator.cs (1)
83_aggregatedConfigCache.AddConfiguration(newConfig);
BackEnd\BuildManager\CacheSerialization.cs (1)
83tempConfigCacheToSerialize.AddConfiguration(configCacheToSerialize[smallestCacheConfigId]);
BackEnd\Components\Caching\ConfigCache.cs (1)
146AddConfiguration(configuration);
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
69CurrentCache.AddConfiguration(config);
Microsoft.Build.Engine.UnitTests (28)
BackEnd\CacheAggregator_Tests.cs (11)
78configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 79configCache.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path2", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "c", "d" }, null), "13")); 100configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 129configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 151configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 159configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 195configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 213configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 214configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path2", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "c", "d" }, null), "13")); 225configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path3", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "e", "f" }, null), "13")); 226configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path4", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "g", "h" }, null), "13"));
BackEnd\CacheSerialization_Tests.cs (3)
39configCache.AddConfiguration(brq1); 40configCache.AddConfiguration(brq2); 41configCache.AddConfiguration(brq3);
BackEnd\ConfigCache_Tests.cs (7)
31configCache1.AddConfiguration(brq1.ShallowCloneWithNewId(1)); 41configCache2.AddConfiguration(brq1.ShallowCloneWithNewId(1)); 42configCache2.AddConfiguration(brq2.ShallowCloneWithNewId(2)); 53configCache3.AddConfiguration(brq3.ShallowCloneWithNewId(3)); 84configCache.AddConfiguration(brq1.ShallowCloneWithNewId(1)); 85configCache.AddConfiguration(brq2.ShallowCloneWithNewId(2)); 86configCache.AddConfiguration(brq3.ShallowCloneWithNewId(3));
BackEnd\LoggingService_Tests.cs (1)
968configCache.AddConfiguration(new BuildRequestConfiguration(buildEventContext.ProjectInstanceId, buildRequestData, buildRequestData.ExplicitlySpecifiedToolsVersion));
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
843cache.AddConfiguration(config); 869cache.AddConfiguration(config); 908cache.AddConfiguration(config); 949cache.AddConfiguration(config); 1422cache.AddConfiguration(config);
BackEnd\Scheduler_Tests.cs (1)
742configCache.AddConfiguration(config);