C# 클래스 SonarQube.Common.ConsoleColorScope

Utility class that changes the console text color for the lifetime of the instance
This will have no effect if the console output streams have been re-directed
상속: IDisposable
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarqube-roslyn-sdk

공개 메소드들

메소드 설명
ConsoleColorScope ( ConsoleColor textColor ) : System
Dispose ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
SetColors ( ConsoleColor foreground, ConsoleColor background ) : void

메소드 상세

ConsoleColorScope() 공개 메소드

public ConsoleColorScope ( ConsoleColor textColor ) : System
textColor ConsoleColor
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void