Example #1
0
        /// <summary>
        /// Clears the list of sub directories
        /// </summary>
        public void ClearDirectories()
        {
            foreach (var dir in WzDirectories)
            {
                dir.Parent = null;
            }

            WzDirectories.Clear();
        }
Example #2
0
 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;
 }