static BuildableMusicArtistOptions ArtistWithGenres(string artist, IEnumerable <string> genres, BuildableMusicArtistOptions options) { if (options == null) { options = new BuildableMusicArtistOptions { Title = artist }; } foreach (var genre in genres) { options.OnGenre(genre); } return(options); }
static BuildableMusicArtistOptions ArtistWithGenres (string artist, IEnumerable<string> genres, BuildableMusicArtistOptions options) { if (options == null) { options = new BuildableMusicArtistOptions { Title = artist }; } foreach (var genre in genres) { options.OnGenre (genre); } return options; }