/// <summary> /// Reset the values of the elements we're tracking in order to handle /// the next file /// </summary> private void Reset() { elements.Clear(); foreach (ImageVisitor.ImageElement e in elementsToTrack) { elements[e] = null; } fileSize = 0l; }