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