22 references to LoggingServiceState
Microsoft.Build (12)
BackEnd\Components\Logging\ILoggingService.cs (1)
68LoggingServiceState ServiceState
BackEnd\Components\Logging\LoggingService.cs (11)
113private LoggingServiceState _serviceState; 330_serviceState = LoggingServiceState.Instantiated; 448public LoggingServiceState ServiceState => _serviceState; 856ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 871_serviceState = LoggingServiceState.Initialized; 892ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 895_serviceState = LoggingServiceState.ShuttingDown; 945_serviceState = LoggingServiceState.Shutdown; 1038ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1127ErrorUtilities.VerifyThrow(_serviceState != LoggingServiceState.Shutdown, " The object is shutdown, should not do any operations on a shutdown component"); 1192ErrorUtilities.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)
70Assert.Equal(LoggingServiceState.Instantiated, logService.ServiceState); 77Assert.Equal(LoggingServiceState.Instantiated, logService.ServiceState); 82Assert.Equal(LoggingServiceState.Shutdown, logService.ServiceState); 100Assert.Equal(LoggingServiceState.Instantiated, ((LoggingService)logServiceComponent).ServiceState); 106Assert.Equal(LoggingServiceState.Initialized, service.ServiceState); 146Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState); 152Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState); 160Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState); 179Assert.Equal(LoggingServiceState.Shutdown, _initializedService.ServiceState);
BackEnd\MockLoggingService.cs (1)
67public LoggingServiceState ServiceState