17 references to ConfigCache
Microsoft.Build (17)
BackEnd\BuildManager\BuildManager.cs (5)
751
_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
909
_configCache = ((IBuildComponentHost)this).GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
930
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
2932
IConfigCache configCache = _componentFactories.GetComponent<IConfigCache>(BuildComponentType.
ConfigCache
);
3507
_componentFactories.ReplaceFactory(BuildComponentType.
ConfigCache
, new ConfigCacheWithOverride(cacheAggregation.ConfigCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
63
_componentEntriesByType[BuildComponentType.
ConfigCache
] = new BuildComponentEntry(BuildComponentType.
ConfigCache
, ConfigCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
383
BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
))[request.ConfigurationId];
488
IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
573
IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
653
_configCache = (IConfigCache)host.GetComponent(BuildComponentType.
ConfigCache
);
1180
IConfigCache globalConfigCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Components\Caching\ConfigCache.cs (1)
337
Assumed.Equal(componentType, BuildComponentType.
ConfigCache
, $"Cannot create components of type {componentType}");
BackEnd\Components\Logging\LoggingService.cs (1)
317
_configCache = new Lazy<IConfigCache>(() => (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
), LazyThreadSafetyMode.PublicationOnly);
BackEnd\Components\Scheduler\Scheduler.cs (1)
691
_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\Node\OutOfProcNode.cs (2)
156
_globalConfigCache = (this as IBuildComponentHost).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
556
if (_componentFactories.GetComponent(BuildComponentType.
ConfigCache
) is IConfigCache configCache)