示例#1
0
 private Media(string id, string instructorId, string instructorName, string fileName, FileType fileType, string fileExtension, DateTime recordingDate, DateTime uploadDate, ContentDetails contentDetails, StateDetails stateDetails, Manifest manifest)
 {
     Id             = id;
     InstructorId   = instructorId;
     InstructorName = instructorName;
     FileName       = fileName;
     FileType       = fileType;
     FileExtension  = fileExtension;
     RecordingDate  = recordingDate;
     UploadDate     = uploadDate;
     ContentDetails = contentDetails;
     State          = stateDetails;
     Manifest       = manifest;
 }
示例#2
0
 public static Media Create(string id, string instructorId, string instructorName, string fileName, FileType fileType, string fileExtension, DateTime recordingDate, DateTime uploadDate, ContentDetails contentDetails, StateDetails stateDetails, Manifest manifest)
 {
     return(new Media(id, instructorId, instructorName, fileName, fileType, fileExtension, recordingDate, uploadDate, contentDetails, stateDetails, manifest));
 }