21 references to LoggingService
Microsoft.Build (14)
BackEnd\BuildManager\BuildManager.cs (7)
380ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2538ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2551ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2825ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2975_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingService as IBuildComponent); 3179_componentFactories.ShutdownComponent(BuildComponentType.LoggingService); 3186_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, (IBuildComponent?)null);
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
81_componentEntriesByType[BuildComponentType.LoggingService] = new BuildComponentEntry(BuildComponentType.LoggingService, null);
BackEnd\Components\Logging\LoggingServiceFactory.cs (1)
51ErrorUtilities.VerifyThrow(type == BuildComponentType.LoggingService, "Cannot create components of type {0}", type);
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (2)
75ILoggingService loggingService = Host.GetComponent(BuildComponentType.LoggingService) as ILoggingService; 83ILoggingService loggingService = Host.GetComponent(BuildComponentType.LoggingService) as ILoggingService;
BackEnd\Node\OutOfProcNode.cs (2)
771_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingServiceFactory.CreateInstance); 773_loggingService = _componentFactories.GetComponent(BuildComponentType.LoggingService) as ILoggingService;
Microsoft.Build.Engine.UnitTests (7)
BackEnd\LoggingServiceFactory_Tests.cs (2)
24LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.LoggingService); 35LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.LoggingService);
BackEnd\MockHost.cs (1)
203BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TargetBuilder_Tests.cs (1)
1849BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TargetEntry_Tests.cs (1)
1320BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TaskBuilder_Tests.cs (1)
1377BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TaskHost_Tests.cs (1)
66_loggingService = loggingFactory.CreateInstance(BuildComponentType.LoggingService) as LoggingService;