C# Класс CK.Core.ActivityMonitorGroupData

Data required by IActivityMonitor.UnfilteredOpenGroup.
Наследование: ActivityMonitorLogData
Показать файл Открыть проект Примеры использования класса

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