C# Class CK.Core.ActivityMonitorTextHelperClient

Base class for IActivityMonitorClient that tracks groups and level changes in order to ease text-based renderer.
Inheritance: IActivityMonitorBoundClient
Mostra file Open project: Invenietis/ck-core

Private Properties

Property Type Description
CanOutputGroup bool
CanOutputLine bool
IActivityMonitorBoundClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void
IActivityMonitorClient void

Protected Methods

Method Description
ActivityMonitorTextHelperClient ( ) : System

Initialize a new ActivityMonitorTextHelperClient.

ActivityMonitorTextHelperClient ( LogFilter filter ) : System

Initialize a new ActivityMonitorTextHelperClient with a filter.

OnContinueOnSameLevel ( ActivityMonitorLogData data ) : void

Called for text with the same LogLevel as the previous ones.

OnEnterLevel ( ActivityMonitorLogData data ) : void

Called for the first text of a LogLevel.

OnGroupClose ( IActivityLogGroup group, IReadOnlyList conclusions ) : void

Called when the group is actually closed.

OnGroupOpen ( IActivityLogGroup group ) : void

Called whenever a group is opened.

OnLeaveLevel ( LogLevel level ) : void

Called when current log level changes.

Private Methods

Method Description
CanOutputGroup ( LogLevel logLevel ) : bool
CanOutputLine ( LogLevel logLevel ) : bool
IActivityMonitorBoundClient ( Impl source, bool forceBuggyRemove ) : void
IActivityMonitorClient ( ActivityMonitorLogData data ) : void
IActivityMonitorClient ( CKTrait newTrait ) : void
IActivityMonitorClient ( IActivityLogGroup group ) : void
IActivityMonitorClient ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
IActivityMonitorClient ( IActivityLogGroup group, List &conclusions ) : void
IActivityMonitorClient ( string newTopic, string fileName, int lineNumber ) : void

Method Details

ActivityMonitorTextHelperClient() protected method

Initialize a new ActivityMonitorTextHelperClient.
protected ActivityMonitorTextHelperClient ( ) : System
return System

ActivityMonitorTextHelperClient() protected method

Initialize a new ActivityMonitorTextHelperClient with a filter.
protected ActivityMonitorTextHelperClient ( LogFilter filter ) : System
filter LogFilter
return System

OnContinueOnSameLevel() protected abstract method

Called for text with the same LogLevel as the previous ones.
protected abstract OnContinueOnSameLevel ( ActivityMonitorLogData data ) : void
data ActivityMonitorLogData Log data.
return void

OnEnterLevel() protected abstract method

Called for the first text of a LogLevel.
protected abstract OnEnterLevel ( ActivityMonitorLogData data ) : void
data ActivityMonitorLogData Log data.
return void

OnGroupClose() protected abstract method

Called when the group is actually closed.
protected abstract OnGroupClose ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
group IActivityLogGroup The closing group.
conclusions IReadOnlyList Texts that concludes the group. Never null but can be empty.
return void

OnGroupOpen() protected abstract method

Called whenever a group is opened.
protected abstract OnGroupOpen ( IActivityLogGroup group ) : void
group IActivityLogGroup The newly opened group.
return void

OnLeaveLevel() protected abstract method

Called when current log level changes.
protected abstract OnLeaveLevel ( LogLevel level ) : void
level LogLevel The previous log level (without ).
return void