74 references to ConfigCache
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (5)
691
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
846
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
867
_configCache = ((IBuildComponentHost)this).GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
2687
IConfigCache configCache = _componentFactories.GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache;
3203
_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)
339
BuildRequestConfiguration config = ((IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
))[request.ConfigurationId];
429
IConfigCache configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
509
IConfigCache globalConfigurations = (IConfigCache)_componentHost.GetComponent(BuildComponentType.
ConfigCache
);
593
_configCache = (IConfigCache)host.GetComponent(BuildComponentType.
ConfigCache
);
1118
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;
533
if (_componentFactories.GetComponent(BuildComponentType.
ConfigCache
) is IConfigCache configCache)
Microsoft.Build.Engine.UnitTests (56)
BackEnd\BuildManager_Tests.cs (4)
1857
host.GetComponent(BuildComponentType.
ConfigCache
);
1883
host.GetComponent(BuildComponentType.
ConfigCache
);
1915
host.GetComponent(BuildComponentType.
ConfigCache
);
1967
host.GetComponent(BuildComponentType.
ConfigCache
);
BackEnd\BuildRequestEngine_Tests.cs (1)
294
_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)
837
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
863
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
902
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
943
ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.
ConfigCache
);
1414
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)
737
(_host.GetComponent(BuildComponentType.
ConfigCache
) as IConfigCache).AddConfiguration(config);
BackEnd\TargetBuilder_Tests.cs (34)
102
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
121
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
147
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
175
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
359
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
498
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
523
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
548
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
577
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
611
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
642
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
672
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
697
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
732
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
757
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
783
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
812
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
855
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
881
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
907
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
938
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1035
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1069
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1119
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1178
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1219
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1264
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1294
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1367
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1399
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1425
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1643
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1678
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1816
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\TargetEntry_Tests.cs (1)
1317
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,
BackEnd\TaskBuilder_Tests.cs (2)
1230
IConfigCache cache = (IConfigCache)_host.GetComponent(BuildComponentType.
ConfigCache
);
1365
BuildComponentType.
ConfigCache
=> (IBuildComponent)_configCache,