/// <summary> /// Initializes an instance of <see cref="Video"/>. /// </summary> public Video( VideoId id, string title, string author, ChannelId channelId, DateTimeOffset uploadDate, string description, TimeSpan duration, ThumbnailSet thumbnails, IReadOnlyList <string> keywords, Engagement engagement, IReadOnlyList <Chapter>?chapters = null) { Id = id; Title = title; Author = author; ChannelId = channelId; UploadDate = uploadDate; Description = description; Duration = duration; Thumbnails = thumbnails; Keywords = keywords; Engagement = engagement; Chapters = chapters; }
/// <summary> /// Initializes an instance of <see cref="Video"/>. /// </summary> public Video( VideoId id, string title, string author, DateTimeOffset uploadDate, string description, TimeSpan duration, ThumbnailSet thumbnails, IReadOnlyList <string> keywords, Engagement engagement) { Id = id; Title = title; Author = author; UploadDate = uploadDate; Description = description; Duration = duration; Thumbnails = thumbnails; Keywords = keywords; Engagement = engagement; }