Ejemplo n.º 1
0
 public static void EnStart(this IPlayable playable)
 {
     if (playable.PlayState == PlayState.Paused)
     {
         playable.Start();
     }
 }
Ejemplo n.º 2
0
 public static void Toggle(this IPlayable playable)
 {
     if (playable.PlayState == PlayState.Paused)
     {
         playable.Start();
     }
     else
     {
         playable.Stop();
     }
 }