public IActionValidator buildValidator() { var validator = new MultipleActionValidator(); validator.AddValidator(new AddChordToMeasureVal(attributes.Chord, attributes.Measure)); validator.AddValidator(new AddNoteToChordVal(attributes.Chord, attributes.Note)); return(validator); }
public IActionValidator buildValidator() { var validator = new MultipleActionValidator(); foreach (Measure measure in attributes.Measures) { validator.AddValidator(new RemoveMeasureFromPartVal(attributes.Part, measure)); } return(validator); }
public IActionValidator buildValidator() { var validator = new MultipleActionValidator(); foreach (Chord chord in attributes.Chords) { validator.AddValidator(new RemoveChordFromMeasureVal(attributes.Measure, chord)); } return(validator); }
public IActionValidator buildValidator() { var validator = new MultipleActionValidator(); foreach (Note note in attributes.Notes) { validator.AddValidator(new RemoveNoteFromChordVal(attributes.Measure, attributes.Chord, note)); } return(validator); }