21 references to LoggingService
Microsoft.Build (14)
BackEnd\BuildManager\BuildManager.cs (7)
373ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2474ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2487ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent<ILoggingService>(BuildComponentType.LoggingService); 2761ILoggingService 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)
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)
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)
24LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.LoggingService); 35LoggingService loggingService = (LoggingService)factory.CreateInstance(BuildComponentType.LoggingService);
BackEnd\MockHost.cs (1)
197BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TargetBuilder_Tests.cs (1)
1850BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TargetEntry_Tests.cs (1)
1321BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TaskBuilder_Tests.cs (1)
1378BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TaskHost_Tests.cs (1)
66_loggingService = loggingFactory.CreateInstance(BuildComponentType.LoggingService) as LoggingService;