public static bool TryParse(string str, out YouTubePlaylistPart part) { part = Values.FirstOrDefault(temp => temp.Name == str); return(part != null); }
/// <summary> /// Adds the specified part to the collection. /// </summary> /// <param name="part">The part to add.</param> public void Add(YouTubePlaylistPart part) { _list.Add(part); }