2 writes to _componentHost
Microsoft.Build (2)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
595
_componentHost
= host;
613
_componentHost
= null;
22 references to _componentHost
Microsoft.Build (22)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (22)
190
ErrorUtilities.VerifyThrow(
_componentHost
!= null, "BuildRequestEngine not initialized by component host.");
286
IBuildCheckManagerProvider buildCheckProvider = (
_componentHost
.GetComponent(BuildComponentType.BuildCheckManagerProvider) as IBuildCheckManagerProvider);
339
IResultsCache cache = (IResultsCache)
_componentHost
.GetComponent(BuildComponentType.ResultsCache);
342
BuildRequestConfiguration config = ((IConfigCache)
_componentHost
.GetComponent(BuildComponentType.ConfigCache))[request.ConfigurationId];
355
TraceEngine("Request {0}({1}) (nr {2}) retrieved results for configuration {3} from node {4} for transfer.", request.GlobalRequestId, request.ConfigurationId, request.NodeRequestId, request.ConfigurationId,
_componentHost
.BuildParameters.NodeId);
364
if (
_componentHost
.BuildParameters.NodeId != Scheduler.InProcNodeId)
429
TraceEngine("Request {0}({1}) (nr {2}) has retrieved the results for configuration {3} and cached them on node {4} (UBR).", entry.Request.GlobalRequestId, entry.Request.ConfigurationId, entry.Request.NodeRequestId, entry.Request.ConfigurationId,
_componentHost
.BuildParameters.NodeId);
431
IResultsCache resultsCache = (IResultsCache)
_componentHost
.GetComponent(BuildComponentType.ResultsCache);
432
IConfigCache configCache = (IConfigCache)
_componentHost
.GetComponent(BuildComponentType.ConfigCache);
446
config.ResultsNodeId =
_componentHost
.BuildParameters.NodeId;
504
ErrorUtilities.VerifyThrow(
_componentHost
!= null, "No host object set");
512
IConfigCache globalConfigurations = (IConfigCache)
_componentHost
.GetComponent(BuildComponentType.ConfigCache);
522
IResultsCache resultsCache = (IResultsCache)
_componentHost
.GetComponent(BuildComponentType.ResultsCache);
545
skippedResultsDoNotCauseCacheMiss:
_componentHost
.BuildParameters.SkippedResultsDoNotCauseCacheMiss());
594
ErrorUtilities.VerifyThrow(
_componentHost
== null, "BuildRequestEngine already initialized!");
878
_componentHost
.GetComponent(BuildComponentType.ResultsCache) as IResultsCache;
915
ErrorUtilities.VerifyThrow(
_componentHost
!= null, "No host object set");
944
IRequestBuilder builder = (IRequestBuilder)
_componentHost
.GetComponent(BuildComponentType.RequestBuilder);
1115
ErrorUtilities.VerifyThrow(
_componentHost
!= null, "No host object set");
1121
IConfigCache globalConfigCache = (IConfigCache)
_componentHost
.GetComponent(BuildComponentType.ConfigCache);
1211
IResultsCache resultsCache = (IResultsCache)
_componentHost
.GetComponent(BuildComponentType.ResultsCache);
1217
skippedResultsDoNotCauseCacheMiss:
_componentHost
.BuildParameters.SkippedResultsDoNotCauseCacheMiss());