public SourceDirectory(SourceDirectoryId id, DirectoryPath filePath, DirectoryPath thumbnailSubDir, DirectorySetupName name) { Directory = filePath ?? throw new ArgumentNullException(nameof(filePath)); ThumbnailPath = thumbnailSubDir;//todo ?? throw new ArgumentNullException(nameof(thumbnailSubDir)); Name = name ?? throw new ArgumentNullException(nameof(name)); Id = id ?? throw new ArgumentNullException(nameof(id)); }
public void RemoveSourceDirectory(SourceDirectoryId id) { this._directories.Remove(id); }