Пример #1
0
 public DocumentDto(string displayName, byte[] content, FileTypeDto fileType, string?description = null, DateTime?originCreationDate = null)
 {
     this.DisplayName        = displayName;
     this.Content            = content;
     this.FileType           = fileType;
     this.Description        = description;
     this.OriginCreationDate = originCreationDate;
 }
Пример #2
0
 public DocumentDto(Guid id, string displayName, byte[] content, FileTypeDto fileType, string?description, DateTime?originCreationDate, DateTime creationDate, DateTime?changeDate)
 {
     this.Id                 = id;
     this.DisplayName        = displayName;
     this.Content            = content;
     this.FileType           = fileType;
     this.Description        = description;
     this.OriginCreationDate = originCreationDate;
     this.CreationDate       = creationDate;
     this.ChangeDate         = changeDate;
 }