public MusicPlaySwitchedEventArgs(MusicPlayMode musicPlayMode, bool isDescending) { MusicPlayMode = musicPlayMode; IsDescending = isDescending; }
/// <summary> /// /// </summary> /// <param name="musicPlayMode"></param> /// <param name="isDown">true 向下 false 向上</param> public static void Invoke(MusicPlayMode musicPlayMode, bool isDown) { var e = new MusicPlaySwitchedEventArgs(musicPlayMode, isDown); MusicPlaySwitchedEvent?.Invoke(null, e); }