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; }
public bool Handle(UpdateMediaCommand cmd) { return(ContentDetails.Handle(cmd)); }
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)); }