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).
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
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