22 references to LoggingServiceState
Microsoft.Build (12)
BackEnd\Components\Logging\ILoggingService.cs (1)
68LoggingServiceState ServiceState
BackEnd\Components\Logging\LoggingService.cs (11)
118private LoggingServiceState _serviceState; 337_serviceState = LoggingServiceState.Instantiated; 455public LoggingServiceState ServiceState => _serviceState; 863ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 878_serviceState = LoggingServiceState.Initialized; 901ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 904_serviceState = LoggingServiceState.ShuttingDown; 954_serviceState = LoggingServiceState.Shutdown; 1000ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1089ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1154ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component");
Microsoft.Build.Engine.UnitTests (10)
BackEnd\LoggingService_Tests.cs (9)
69Assert.Equal(LoggingServiceState.Instantiated, logService.ServiceState); 76Assert.Equal(LoggingServiceState.Instantiated, logService.ServiceState); 81Assert.Equal(LoggingServiceState.Shutdown, logService.ServiceState); 99Assert.Equal(LoggingServiceState.Instantiated, ((LoggingService)logServiceComponent).ServiceState); 105Assert.Equal(LoggingServiceState.Initialized, service.ServiceState); 145Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState); 151Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState); 159Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState); 178Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState);
BackEnd\MockLoggingService.cs (1)
67public LoggingServiceState ServiceState