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

The "Path Catcher" captures the current path of the opened groups and the last, current, line and exposes it thanks to a read only list of PathElement (the DynamicPath property), plus two other specific paths, the LastErrorPath and the LastWarnOrErrorPath.
Наследование: ActivityMonitorClient, IActivityMonitorBoundClient
Показать файл Открыть проект

Открытые методы

Метод Описание
ActivityMonitorPathCatcher ( ) : System

Initializes a new ActivityMonitorPathCatcher.

CheckSnapshot ( ) : void
ClearLastErrorPath ( ) : void

Clears current LastErrorPath (sets it to null).

ClearLastWarnPath ( bool clearLastErrorPath = false ) : void

Clears current LastWarnOrErrorPath (sets it to null), and optionally clears LastErrorPath.

HandleCurrentGroupIsClosed ( ) : void
IActivityMonitorBoundClient ( IActivityMonitorImpl source, bool forceBuggyRemove ) : void

Защищенные методы

Метод Описание
OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void

Removes one or two last PathElement of DynamicPath.

OnOpenGroup ( IActivityLogGroup group ) : void

Appends or updates the last PathElement of DynamicPath and handles errors or warning.

OnUnfilteredLog ( ActivityMonitorLogData data ) : void

Appends or updates the last PathElement of DynamicPath and handles errors or warning.

Описание методов

ActivityMonitorPathCatcher() публичный Метод

Initializes a new ActivityMonitorPathCatcher.
public ActivityMonitorPathCatcher ( ) : System
Результат System

CheckSnapshot() публичный Метод

public CheckSnapshot ( ) : void
Результат void

ClearLastErrorPath() публичный Метод

Clears current LastErrorPath (sets it to null).
public ClearLastErrorPath ( ) : void
Результат void

ClearLastWarnPath() публичный Метод

Clears current LastWarnOrErrorPath (sets it to null), and optionally clears LastErrorPath.
public ClearLastWarnPath ( bool clearLastErrorPath = false ) : void
clearLastErrorPath bool
Результат void

HandleCurrentGroupIsClosed() публичный Метод

public HandleCurrentGroupIsClosed ( ) : void
Результат void

IActivityMonitorBoundClient() публичный Метод

public IActivityMonitorBoundClient ( IActivityMonitorImpl source, bool forceBuggyRemove ) : void
source IActivityMonitorImpl
forceBuggyRemove bool
Результат void

OnGroupClosed() защищенный Метод

Removes one or two last PathElement of DynamicPath.
protected OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
group IActivityLogGroup The closed group.
conclusions IReadOnlyList Texts that conclude the group. Never null but can be empty.
Результат void

OnOpenGroup() защищенный Метод

Appends or updates the last PathElement of DynamicPath and handles errors or warning.
protected OnOpenGroup ( IActivityLogGroup group ) : void
group IActivityLogGroup The newly opened .
Результат void

OnUnfilteredLog() защищенный Метод

Appends or updates the last PathElement of DynamicPath and handles errors or warning.
protected OnUnfilteredLog ( ActivityMonitorLogData data ) : void
data ActivityMonitorLogData Log data. Never null.
Результат void