コード例 #1
0
 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));
 }
コード例 #2
0
 public void RemoveSourceDirectory(SourceDirectoryId id)
 {
     this._directories.Remove(id);
 }