C# 클래스 CK.Monitoring.ParentedLogEntry

Parented log entry binds an entry to its parent group and can be a missing entry (a line or group opening or closing that we know it exists but have no data for it or only their ILogEntry.LogTime).
파일 보기 프로젝트 열기: Invenietis/ck-core 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Entry ILogEntry
Parent ParentedLogEntry

공개 메소드들

메소드 설명
CollectPath ( Action collector, bool addThis = false ) : void

Collects the path of this ParentedLogEntry, optionally terminated with this entry.

GetPath ( List reusableBuffer, bool addThis = false ) : void

Collects path of ILogEntry in a reusable list (the buffer is cleared first).

비공개 메소드들

메소드 설명
DoGetPath ( Action collector ) : void
ParentedLogEntry ( ParentedLogEntry parent, ILogEntry entry ) : CK.Core

메소드 상세

CollectPath() 공개 메소드

Collects the path of this ParentedLogEntry, optionally terminated with this entry.
public CollectPath ( Action collector, bool addThis = false ) : void
collector Action Action for each item.
addThis bool Set it to true to append to also call the collector with this entry.
리턴 void

GetPath() 공개 메소드

Collects path of ILogEntry in a reusable list (the buffer is cleared first).
public GetPath ( List reusableBuffer, bool addThis = false ) : void
reusableBuffer List List that will be cleared and filled with parents.
addThis bool Set it to true to append to also add this entry.
리턴 void

프로퍼티 상세

Entry 공개적으로 프로퍼티

The entry itself.
public ILogEntry Entry
리턴 ILogEntry

Parent 공개적으로 프로퍼티

Parent entry. Null when there is no group above.
public ParentedLogEntry,CK.Monitoring Parent
리턴 ParentedLogEntry