21 references to LoggingService
Microsoft.Build (14)
BackEnd\BuildManager\BuildManager.cs (7)
385ILoggingService IBuildComponentHost.LoggingService => _componentFactories.GetComponent(BuildComponentType.LoggingService) as ILoggingService; 2496ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent(BuildComponentType.LoggingService) as ILoggingService; 2516ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent(BuildComponentType.LoggingService) as ILoggingService; 2826ILoggingService loggingService = ((IBuildComponentHost)this).GetComponent(BuildComponentType.LoggingService) as ILoggingService; 2976_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingService as IBuildComponent); 3100_componentFactories.ShutdownComponent(BuildComponentType.LoggingService); 3107_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)
758_componentFactories.ReplaceFactory(BuildComponentType.LoggingService, loggingServiceFactory.CreateInstance); 760_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)
1817BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TargetEntry_Tests.cs (1)
1318BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TaskBuilder_Tests.cs (1)
1366BuildComponentType.LoggingService => (IBuildComponent)_loggingService,
BackEnd\TaskHost_Tests.cs (1)
66_loggingService = loggingFactory.CreateInstance(BuildComponentType.LoggingService) as LoggingService;