Пример #1
0
 private IPreset CreateAndAddPreset(string name, ObservableCollection<INote> notes)
 {
     var preset = new Preset()
     {
         Name = name,
         Notes = notes
     };
     Presets.Add(preset);
     return preset;
 }
Пример #2
0
 public object Clone()
 {
     var preset = new Preset();
     CloneTo(preset);
     return preset;
 }