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

Наследование: IActivityMonitorClient
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Empty ActivityMonitorClient

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

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

Initialize a new ActivityMonitorClient that does nothing.

CreateMultipleRegisterOnBoundClientException ( IActivityMonitorBoundClient boundClient ) : InvalidOperationException

Creates a standardized exception that can be thrown by IActivityMonitorBoundClient.SetMonitor.

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

Метод Описание
OnAutoTagsChanged ( CKTrait newTags ) : void

Called when IActivityMonitor.AutoTags changed. Does nothing by default.

OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void

Called when the group is actually closed. Does nothing by default.

OnGroupClosing ( IActivityLogGroup group, List &conclusions ) : void

Called once the user conclusions are known at the group level but before the group is actually closed: clients can update the conclusions for the group. Does nothing by default.

OnOpenGroup ( IActivityLogGroup group ) : void

Called for each IActivityMonitor.UnfilteredOpenGroup. Does nothing by default.

OnTopicChanged ( string newTopic, string fileName, int lineNumber ) : void

Called when IActivityMonitor.Topic changed. Does nothing by default.

OnUnfilteredLog ( ActivityMonitorLogData data ) : void

Called for each IActivityMonitor.UnfilteredLog. Does nothing by default. The ActivityMonitorLogData.Exception is always null since exceptions are carried by groups.

Приватные методы

Метод Описание
IActivityMonitorClient ( ActivityMonitorLogData data ) : void
IActivityMonitorClient ( CKTrait newTags ) : 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

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

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

Initialize a new ActivityMonitorClient that does nothing.
public ActivityMonitorClient ( ) : System
Результат System

CreateMultipleRegisterOnBoundClientException() статический публичный Метод

Creates a standardized exception that can be thrown by IActivityMonitorBoundClient.SetMonitor.
static public CreateMultipleRegisterOnBoundClientException ( IActivityMonitorBoundClient boundClient ) : InvalidOperationException
boundClient IActivityMonitorBoundClient The bound client.
Результат System.InvalidOperationException

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

Called when IActivityMonitor.AutoTags changed. Does nothing by default.
protected OnAutoTagsChanged ( CKTrait newTags ) : void
newTags CKTrait The new auto tags.
Результат void

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

Called when the group is actually closed. Does nothing by default.
protected OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
group IActivityLogGroup The closed group.
conclusions IReadOnlyList Text that conclude the group. Never null but can be empty.
Результат void

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

Called once the user conclusions are known at the group level but before the group is actually closed: clients can update the conclusions for the group. Does nothing by default.
protected OnGroupClosing ( IActivityLogGroup group, List &conclusions ) : void
group IActivityLogGroup The closing group.
conclusions List /// Mutable conclusions associated to the closing group. /// This can be null if no conclusions have been added yet. /// It is up to the first client that wants to add a conclusion to instantiate a new List object to carry the conclusions. ///
Результат void

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

Called for each IActivityMonitor.UnfilteredOpenGroup. Does nothing by default.
protected OnOpenGroup ( IActivityLogGroup group ) : void
group IActivityLogGroup The newly opened .
Результат void

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

Called when IActivityMonitor.Topic changed. Does nothing by default.
protected OnTopicChanged ( string newTopic, string fileName, int lineNumber ) : void
newTopic string The new topic.
fileName string Source file name where has been called.
lineNumber int Source line number where IActivityMonitor.SetTopic has been called.
Результат void

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

Called for each IActivityMonitor.UnfilteredLog. Does nothing by default. The ActivityMonitorLogData.Exception is always null since exceptions are carried by groups.
protected OnUnfilteredLog ( ActivityMonitorLogData data ) : void
data ActivityMonitorLogData Log data. Never null.
Результат void

Описание свойств

Empty публичное статическое свойство

Empty IActivityMonitorClient (null object design pattern).
public static ActivityMonitorClient,CK.Core Empty
Результат ActivityMonitorClient