public void handleConfirm() { if (ArtistError != String.Empty || AlbumError != String.Empty) { return; } string new_tags = String.Join(",", (from tag in Tags select tag.Name)); //string new_types = String.Join(",", (from tag in Tags select tag.Type)); var updater = SongUpdater.createNoTabUpdater(null, artist, album, new_tags); var args = new UpdateEventArgs <SongModel>(Base, updater); ConfirmEdit?.Invoke(this, args); }
private IUpdater <SongModel> createUpdater() { return(SongUpdater.createNoTabUpdater(null, Artist.Value, Album.Value, createTagString())); }