74 references to ConfigCache
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (5)
686
_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
833
_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
854
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
2667
IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
3209
_componentFactories.ReplaceFactory(BuildComponentType.
ConfigCache
, new ConfigCacheWithOverride(cacheAggregation.ConfigCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
61
_componentEntriesByType[BuildComponentType.
ConfigCache
] = new BuildComponentEntry(BuildComponentType.
ConfigCache
, ConfigCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
342
BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
))[request.ConfigurationId];
432
IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
512
IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
596
_configCache = (IConfigCache)host.GetComponent(BuildComponentType.
ConfigCache
);
1121
IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Components\Caching\ConfigCache.cs (1)
391
ErrorUtilities.VerifyThrow(componentType == BuildComponentType.
ConfigCache
, "Cannot create components of type {0}", componentType);
BackEnd\Components\Logging\LoggingService.cs (1)
304
_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\Scheduler\Scheduler.cs (2)
632
_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
1966
var configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Node\OutOfProcNode.cs (2)
152
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
536
if (_componentFactories.GetComponent(BuildComponentType.
ConfigCache
) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (56)
BackEnd\BuildManager_Tests.cs (4)
1922
host.GetComponent(BuildComponentType.
ConfigCache
);
1948
host.GetComponent(BuildComponentType.
ConfigCache
);
1980
host.GetComponent(BuildComponentType.
ConfigCache
);
2032
host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\BuildRequestEngine_Tests.cs (1)
295
_cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\LoggingService_Tests.cs (1)
966
ConfigCache configCache = host.GetComponent(BuildComponentType.
ConfigCache
) as ConfigCache;
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
839
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
865
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
904
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
945
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
1418
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\MockHost.cs (1)
196
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\RequestBuilder_Tests.cs (6)
84
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
114
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
147
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
186
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
225
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
300
IConfigCache configCache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Scheduler_Tests.cs (1)
738
(_host.GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (34)
103
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
123
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
150
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
179
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
364
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
504
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
530
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
556
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
586
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
621
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
653
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
684
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
710
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
746
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
772
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
799
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
829
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
873
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
900
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
927
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
959
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1057
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1092
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1143
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1203
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1245
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1291
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1322
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1396
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1429
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1456
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1675
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1711
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1849
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\TargetEntry_Tests.cs (1)
1320
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\TaskBuilder_Tests.cs (2)
1241
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1377
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,