예제 #1
0
 internal TempoDataField(TempoField field) : base(field)
 {
     switchDataField                       = new BooleanDataField(field.SwitchField);
     numericDataField                      = new NumericDataField(field.NumericField);
     musicalNoteDataField                  = new EnumDataField(field.MusicalNoteField);
     switchDataField.PropertyChanged      += HandleSwitchPropertyChanged;
     numericDataField.PropertyChanged     += HandleNumericPropertyChanged;
     musicalNoteDataField.PropertyChanged += HandleMusicalNotePropertyChanged;
 }
예제 #2
0
 internal override void Save(DataSegment segment)
 {
     SwitchDataField.Save(segment);
     NumericDataField.Save(segment);
     MusicalNoteDataField.Save(segment);
 }
예제 #3
0
 internal TempoDataField(TempoField field) : base(field)
 {
     switchDataField      = new BooleanDataField(field.SwitchField);
     numericDataField     = new NumericDataField(field.NumericField);
     musicalNoteDataField = new EnumDataField(field.MusicalNoteField);
 }
예제 #4
0
 internal override IEnumerable <DataValidationError> Load(DataSegment segment) =>
 SwitchDataField.Load(segment)
 .Concat(NumericDataField.Load(segment))
 .Concat(MusicalNoteDataField.Load(segment));