C# 클래스 CK.Core.ActivityMonitorGroupData

Data required by IActivityMonitor.UnfilteredOpenGroup.
상속: ActivityMonitorLogData
파일 보기 프로젝트 열기: Invenietis/ck-core 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConsumeConclusionText string

공개 메소드들

메소드 설명
ActivityMonitorGroupData ( ) : System

Initializes a mere new ActivityMonitorGroupData without any actual data. Should be unsed only for rejected opened group.

ActivityMonitorGroupData ( LogLevel level, CKTrait tags, string text, DateTimeStamp logTime, Exception exception, Func getConclusionText, string fileName, int lineNumber ) : System

Initializes a new ActivityMonitorGroupData.

ActivityMonitorGroupData ( LogLevel level, string fileName, int lineNumber ) : System

Preinitializes a new ActivityMonitorLogData: Initialize has yet to be called.

Initialize ( string text, Exception exception, CKTrait tags, DateTimeStamp logTime, Func getConclusionText ) : void

Initializes this group data.

비공개 메소드들

메소드 설명
ConsumeConclusionText ( ) : string

Calls GetConclusionText and sets it to null.

메소드 상세

ActivityMonitorGroupData() 공개 메소드

Initializes a mere new ActivityMonitorGroupData without any actual data. Should be unsed only for rejected opened group.
public ActivityMonitorGroupData ( ) : System
리턴 System

ActivityMonitorGroupData() 공개 메소드

Initializes a new ActivityMonitorGroupData.
public ActivityMonitorGroupData ( LogLevel level, CKTrait tags, string text, DateTimeStamp logTime, Exception exception, Func getConclusionText, string fileName, int lineNumber ) : System
level LogLevel Log level. Can not be .
tags CKTrait Tags (from ) to associate to the log. It will be union-ed with the current .
text string Text of the log. Can be null or empty only if is not null: the is the text.
logTime DateTimeStamp /// Time of the log. /// You may use or IActivityMonitor.NextLogTime() extension method. ///
exception System.Exception Exception of the log. Can be null.
getConclusionText Func Optional function that provides delayed obtention of the group conclusion: will be called on group closing.
fileName string Name of the source file that emitted the log. Can be null.
lineNumber int Line number in the source file that emitted the log. Can be null.
리턴 System

ActivityMonitorGroupData() 공개 메소드

Preinitializes a new ActivityMonitorLogData: Initialize has yet to be called.
public ActivityMonitorGroupData ( LogLevel level, string fileName, int lineNumber ) : System
level LogLevel Log level. Can not be .
fileName string Name of the source file that emitted the log. Can be null.
lineNumber int Line number in the source file that emitted the log. Can be null.
리턴 System

Initialize() 공개 메소드

Initializes this group data.
public Initialize ( string text, Exception exception, CKTrait tags, DateTimeStamp logTime, Func getConclusionText ) : void
text string Text of the log. Can be null or empty only if is not null: the is the text.
exception System.Exception Exception of the log. Can be null.
tags CKTrait Tags (from ) to associate to the log. It will be union-ed with the current .
logTime DateTimeStamp /// Time of the log. /// You may use or IActivityMonitor.NextLogTime() extension method. ///
getConclusionText Func Optional function that provides delayed obtention of the group conclusion: will be called on group closing.
리턴 void