private IPreset CreateAndAddPreset(string name, ObservableCollection<INote> notes) { var preset = new Preset() { Name = name, Notes = notes }; Presets.Add(preset); return preset; }
public object Clone() { var preset = new Preset(); CloneTo(preset); return preset; }