public MPlaylistSnippet(PlaylistSnippet snippet) : this()
        {
            if (snippet == null)
            {
                return;
            }

            ChannelId       = snippet.ChannelId;
            ChannelTitle    = snippet.ChannelTitle;
            DefaultLanguage = snippet.DefaultLanguage;
            Description     = snippet.Description;
            Localized       = new MPlaylistLocalization(snippet.Localized);
            PublishedAt     = snippet.PublishedAt;
            PublishedAtRaw  = snippet.PublishedAtRaw;
            Tags            = snippet.Tags;
            Thumbnails      = new MThumbnailDetails(snippet.Thumbnails);
            Title           = snippet.Title;
        }
Exemple #2
0
 public PlaylistItem()
 {
     Snippet = new PlaylistSnippet();
 }