C# 클래스 CK.Core.ActivityMonitorClient

상속: IActivityMonitorClient
파일 보기 프로젝트 열기: Invenietis/ck-core 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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