C# 클래스 CK.Core.ActivityMonitorErrorCounter.State

Encapsulates error information. The ToString method displays the conclusion in a default text format.
파일 보기 프로젝트 열기: Invenietis/ck-core

공개 메소드들

메소드 설명
ClearError ( ) : void

Resets FatalCount and ErrorCount.

ClearWarn ( bool clearError = false ) : void

Resets current WarnCount, and optionnaly FatalCount and ErrorCount.

ToString ( ) : string

Gets the current message if HasWarnOrError is true, otherwise null.

비공개 메소드들

메소드 설명
CatchLevel ( LogLevel level ) : void
State ( State parent ) : System

메소드 상세

ClearError() 공개 메소드

Resets FatalCount and ErrorCount.
public ClearError ( ) : void
리턴 void

ClearWarn() 공개 메소드

Resets current WarnCount, and optionnaly FatalCount and ErrorCount.
public ClearWarn ( bool clearError = false ) : void
clearError bool
리턴 void

ToString() 공개 메소드

Gets the current message if HasWarnOrError is true, otherwise null.
public ToString ( ) : string
리턴 string