Esempio n. 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;
        }
Esempio n. 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;
        }