21 references to LoggingService
Microsoft.Build (14)
BackEnd\BuildManager\BuildManager.cs (7)
373
ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent<ILoggingService>(BuildComponentType.
LoggingService
);
2474
ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.
LoggingService
);
2487
ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.
LoggingService
);
2761
ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.
LoggingService
);
2912
_componentFactories.ReplaceFactory(BuildComponentType.
LoggingService
, loggingService as IBuildComponent);
3097
_componentFactories.ShutdownComponent(BuildComponentType.
LoggingService
);
3104
_componentFactories.ReplaceFactory(BuildComponentType.
LoggingService
, (IBuildComponent?)null);
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
78
_componentEntriesByType[BuildComponentType.
LoggingService
] = new BuildComponentEntry(BuildComponentType.
LoggingService
, null);
BackEnd\Components\Logging\LoggingServiceFactory.cs (1)
51
ErrorUtilities.VerifyThrow(type == BuildComponentType.
LoggingService
, "Cannot create components of type {0}", type);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (2)
75
ILoggingService loggingService = Host.GetComponent(BuildComponentType.
LoggingService
) as ILoggingService;
83
ILoggingService loggingService = Host.GetComponent(BuildComponentType.
LoggingService
) as ILoggingService;
BackEnd\Node\OutOfProcNode.cs (2)
759
_componentFactories.ReplaceFactory(BuildComponentType.
LoggingService
, loggingServiceFactory.CreateInstance);
761
_loggingService = _componentFactories.GetComponent(BuildComponentType.
LoggingService
) as ILoggingService;
Microsoft.Build.Engine.UnitTests (7)
BackEnd\LoggingServiceFactory_Tests.cs (2)
24
LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.
LoggingService
);
35
LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.
LoggingService
);
BackEnd\MockHost.cs (1)
197
BuildComponentType.
LoggingService
=> (IBuildComponent)_loggingService,
BackEnd\TargetBuilder_Tests.cs (1)
1850
BuildComponentType.
LoggingService
=> (IBuildComponent)_loggingService,
BackEnd\TargetEntry_Tests.cs (1)
1321
BuildComponentType.
LoggingService
=> (IBuildComponent)_loggingService,
BackEnd\TaskBuilder_Tests.cs (1)
1378
BuildComponentType.
LoggingService
=> (IBuildComponent)_loggingService,
BackEnd\TaskHost_Tests.cs (1)
66
_loggingService = loggingFactory.CreateInstance(BuildComponentType.
LoggingService
) as LoggingService;