Beispiel #1
0
 public UploadDetails(UploadId id, IEnumerable <FileDetails> files, UploadDescription description, IReadOnlyList <string> rejectedDuplicates)
 {
     Id                 = Guard.NotNull(id, nameof(id));
     Files              = ArgUtils.ToRoList(files, nameof(files));
     Description        = Guard.NotNull(description, nameof(description));
     RejectedDuplicates = Guard.NotNull(rejectedDuplicates, nameof(rejectedDuplicates));
 }
 public UploadParameters(IEnumerable <SourceFile> sourceFiles, UploadDescription description)
 {
     SourceFiles = ArgUtils.ToRoList(sourceFiles, nameof(sourceFiles));
     Description = Guard.NotNull(description, nameof(description));
 }