コード例 #1
0
 public bool Equals(Rhythm other)
 {
     return((other != null) &&
            (NoteValue == other.NoteValue) &&
            GpifCompare.Equal(PrimaryTuplet, other.PrimaryTuplet) &&
            GpifCompare.Equal(AugmentationDot, other.AugmentationDot));
 }
コード例 #2
0
 public bool Equals(Note other)
 {
     return((other != null) &&
            (Accent == other.Accent) &&
            (Vibrato == other.Vibrato) &&
            GpifCompare.Equal(Tie, other.Tie) &&
            GpifCompare.ListEqual(Properties, other.Properties));
 }
コード例 #3
0
 public bool Equals(Beat other)
 {
     return((other != null) &&
            (Bank == other.Bank) &&
            (Dynamic == other.Dynamic) &&
            (Tremolo == other.Tremolo) &&
            (Rhythm.Ref == other.Rhythm.Ref) &&
            GpifCompare.Equal(Chord, other.Chord) &&
            GpifCompare.Equal(FreeText, other.FreeText) &&
            Enumerable.SequenceEqual(Notes, other.Notes) &&
            GpifCompare.ListEqual(Properties, other.Properties));
 }
コード例 #4
0
 public bool Equals(Property other)
 {
     return((other != null) &&
            (Name == other.Name) &&
            (String == other.String) &&
            (Fret == other.Fret) &&
            (Flags == other.Flags) &&
            (Direction == other.Direction) &&
            (HType == other.HType) &&
            (HFret == other.HFret) &&
            (Float == other.Float) &&
            GpifCompare.ListEqual(Pitches, other.Pitches) &&
            GpifCompare.Equal(Enable, other.Enable));
 }