public void CollectPath( Action<ParentedLogEntry> collector, bool addThis = false ) { if( collector == null ) throw new ArgumentNullException( "collector" ); if( Parent != null ) Parent.DoGetPath( collector ); if( addThis ) collector( this ); }