/// <summary> /// Initializes a new instance of the <see cref="YoutubeSong"/> class. /// </summary> /// <param name="path">The path of the song.</param> /// <param name="audioType">The audio type.</param> /// <param name="duration">The duration of the song.</param> /// <param name="isStreaming">if set to true, the song streams from YouTube, instead of downloading.</param> /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> public YoutubeSong(string path, AudioType audioType, TimeSpan duration, bool isStreaming) : base(path, audioType, duration) { this.IsStreaming = isStreaming; }
/// <summary> /// Initializes a new instance of the <see cref="YoutubeSong"/> class. /// </summary> /// <param name="path">The path of the song.</param> /// <param name="audioType">The audio type.</param> /// <param name="duration">The duration of the song.</param> /// <param name="isStreaming">if set to true, the song streams from YouTube, instead of downloading.</param> /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception> public YoutubeSong(string path, AudioType audioType, TimeSpan duration, bool isStreaming) : base(path, audioType, duration) { this.isStreaming = isStreaming; }