C# Class 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).
Afficher le fichier Open project: Invenietis/ck-core Class Usage Examples

Méthodes publiques

Свойство Type Description
Entry ILogEntry
Parent ParentedLogEntry

Méthodes publiques

Méthode Description
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).

Private Methods

Méthode Description
DoGetPath ( Action collector ) : void
ParentedLogEntry ( ParentedLogEntry parent, ILogEntry entry ) : CK.Core

Method Details

CollectPath() public méthode

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.
Résultat void

GetPath() public méthode

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.
Résultat void

Property Details

Entry public_oe property

The entry itself.
public ILogEntry Entry
Résultat ILogEntry

Parent public_oe property

Parent entry. Null when there is no group above.
public ParentedLogEntry,CK.Monitoring Parent
Résultat ParentedLogEntry