/// <summary>Performs the final opreations after a scan.</summary> /// <param name="token"></param> private void FinishScan(CancellationToken token) { scanningStates = null; if (!token.IsCancellationRequested) { RootItem.Finish(); } }