Пример #1
0
        public void handleConfirm()
        {
            if (Artist.hasErrors() || Album.hasErrors())
            {
                return;
            }

            string new_tags = String.Join(",", (from tag in Tags.Value select tag.Name));
            //string new_types = String.Join(",", (from tag in Tags select tag.Type));

            var updater = SongUpdater.createNoTabUpdater(null, Artist.Value, Album.Value, 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()));
 }