private IISLogRecord FindItemIntoNextElement(IISLogRecord item) { if (_element.Equals(item)) { return(_element); } else if (_nextElement != null) { return(_nextElement.FindItemIntoNextElement(item)); } return(null); }
public IISLogRecord FindItem(IISLogRecord item) => _root?.FindItemIntoNextElement(item);