Example #1
0
        /// <summary>
        /// Creates a comment object based on an atom instance. 
        /// </summary>
        /// <param name="atom">The atom instance.</param>
        public Comment(AtomEntryComment atom)
        {
            this.atom = atom;

            this.author = this.atom.Author != null ? new Author(this.atom.Author) : null;
        }
Example #2
0
        /// <summary>
        /// Creates a playlist object based on an atom instance. 
        /// </summary>
        /// <param name="atom">The atom instance.</param>
        public Playlist(AtomEntryPlaylist atom)
        {
            this.atom = atom;

            this.author = this.atom.Author != null ? new Author(this.atom.Author) : null;
        }