/// <summary> /// Creates an instance with the given fileHelper /// </summary> /// <param name="fileHelper">A streams helper for operations with files and directories</param> protected DirectoryTraverse(StreamHomeworkHelper fileHelper) { if (fileHelper == null) { throw new ArgumentNullException(nameof(fileHelper)); } this.FileHelper = fileHelper; }