Example #1
0
 public void StartPlay(int number)
 {
     Console.WriteLine("Новая композиция!");
     PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs()
     {
         SoundNumber = number
     });
 }
 public void StartPlay(int n)
 {
     PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs(n));
 }
 public void StartPlay(int x)
 {
     PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs {
         SoundNumber = x
     });
 }
Example #4
0
        public void StartPlay(int number)
        {
            PlayIsStartedEventArgs args = new PlayIsStartedEventArgs(number);

            PlayIsStartedEvent?.Invoke(this, args);
        }
Example #5
0
 public void StartPlay(int song)
 => PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs {
     Song = song
 });