/// <summary> /// Gets whether the collection contains the specified <paramref name="type"/>. /// </summary> /// <param name="type">The album type.</param> /// <returns><c>true</c> if the collection contains <paramref name="type"/>, otherwise <c>false</c>.</returns> public bool Contains(SpotifyAlbumType type) { return(_list.Contains(type)); }
/// <summary> /// Removes the specified <paramref name="type"/>. /// </summary> /// <param name="type">The album type to be removed.</param> public void Remove(SpotifyAlbumType type) { _list.Remove(type); }
/// <summary> /// Adds the specified <paramref name="type"/>. /// </summary> /// <param name="type">The album type to be added.</param> public void Add(SpotifyAlbumType type) { _list.Add(type); }
public bool HasType(SpotifyAlbumType type) { return _list.Contains(type); }
public void RemoveType(SpotifyAlbumType type) { _list.Remove(type); }
public void AddType(SpotifyAlbumType type) { _list.Add(type); }