Exemple #1
0
 private void Reset()
 {
     _url         = null;
     _title       = null;
     _description = null;
     _videoId     = null;
     _views       = 0;
     _length      = TimeSpan.MinValue;
     _playlist    = null;
     _formats     = null;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="YoutubePlaylistNotAvailableException"/> class
 ///     with the <see cref="YoutubePlaylist"/> that was unavailable and the specified error message.
 /// </summary>
 ///
 /// <param name="playlist">
 ///     <see cref="YoutubePlaylist"/> that was unavailable.
 /// </param>
 /// <param name="message">
 ///     The message that describes the error.
 /// </param>
 public YoutubePlaylistNotAvailableException(YoutubePlaylist playlist, string message) : base(message)
 {
     _playlist = playlist;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="YoutubePlaylistNotAvailableException"/> class
 ///     with the <see cref="YoutubePlaylist"/> that was unavailable.
 /// </summary>
 ///
 /// <param name="playlist">
 ///     <see cref="YoutubePlaylist"/> that was unavailable.
 /// </param>
 public YoutubePlaylistNotAvailableException(YoutubePlaylist playlist) : base()
 {
     _playlist = playlist;
 }