C# 클래스 CK.Core.ActivityMonitorBridgeTarget

This class used with ActivityMonitorBridge, enables IActivityMonitor to relay logs. Each activity monitor exposes such a bridge target on its output thanks to IActivityMonitorOutput.BridgeTarget.
파일 보기 프로젝트 열기: Invenietis/ck-core 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddCallback void
GetTargetAndAutoTags void
RemoveCallback void
SetAutoTags void
SetTopic void
TargetActualFilterChanged void
TargetAutoTagsChanged void
TargetTopicChanged void

공개 메소드들

메소드 설명
ActivityMonitorBridgeTarget ( IActivityMonitorImpl targetMonitor, bool honorMonitorFilter = true ) : System

Initializes a new ActivityMonitorBridgeTarget bound to a IActivityMonitor.

비공개 메소드들

메소드 설명
AddCallback ( IActivityMonitorBridgeCallback callback ) : void

Called by ActivityMonitorBridge.SetMonitor (the reentrant check is acquired).

GetTargetAndAutoTags ( string &targetTopic, CKTrait &targetTags ) : void
RemoveCallback ( IActivityMonitorBridgeCallback callback ) : void

Called by ActivityMonitorBridge.SetMonitor (the reentrant check is acquired).

SetAutoTags ( CKTrait tags ) : void
SetTopic ( string newTopic, string fileName, int lineNumber ) : void
TargetActualFilterChanged ( ) : void

This is called when HonorMonitorFilter changes or by ActivityMonitor.UpdateActualFilter whenever the monitors's ActualFilter changed (in such cases, we are bound to the activity: the Reentrancy and concurrency lock has been obtained), or by our monitor's SetClientMinimalFilterDirty() method (in this case, we are called on any thread).

TargetAutoTagsChanged ( CKTrait newTags ) : void
TargetTopicChanged ( string newTopic, string fileName, int lineNumber ) : void

메소드 상세

ActivityMonitorBridgeTarget() 공개 메소드

Initializes a new ActivityMonitorBridgeTarget bound to a IActivityMonitor.
public ActivityMonitorBridgeTarget ( IActivityMonitorImpl targetMonitor, bool honorMonitorFilter = true ) : System
targetMonitor IActivityMonitorImpl Monitor that will receive the logs.
honorMonitorFilter bool /// False to ignore the actual filter value: logs coming from the bridge (ie. the remote Application Domain) /// will always be added to this target monitor. ///
리턴 System