/// <summary> /// Clears the list of sub directories /// </summary> public void ClearDirectories() { foreach (var dir in WzDirectories) { dir.Parent = null; } WzDirectories.Clear(); }
public override void Dispose() { Name = null; _reader = null; WzImages?.ForEach(x => x.Dispose()); WzDirectories?.ForEach(x => x.Dispose()); WzImages?.Clear(); WzDirectories?.Clear(); WzImages = null; WzDirectories = null; }