private Song(SongNumber number, Melody melody) { Data = number.Data.Concat(melody.Data).ToImmutableArray(); Number = number; }
public static Song Define(SongNumber number, Melody melody) => new Song(number, melody);
public static Command Play(SongNumber song) => new Command(OpCode.Play, song);