예제 #1
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <Album> action) => MessageRegistration.Register(action, typeof(AlbumPlayedStateChangedMessage));
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <int> action) => MessageRegistration.Register(action, typeof(SelectedLibraryChangedMessage));
예제 #3
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <Tag> action) => MessageRegistration.Register(action, typeof(TagDeletedMessage));
예제 #4
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action action) => MessageRegistration.Register(action, typeof(MediaControlPlayPreviousMessage));
예제 #5
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <bool> action) => MessageRegistration.Register(action, typeof(MediaPlayingMessage));
예제 #6
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <List <int> > action) => MessageRegistration.Register(action, typeof(AlbumsDeletedMessage));
예제 #7
0
 /// <summary>
 /// Send this message to all registered receivers
 /// </summary>
 public void Send()
 {
     MessageRegistration.SendMessage(this);
 }
예제 #8
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action action) => MessageRegistration.Register(action, typeof(SongSelectedMessage));
예제 #9
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action action) => MessageRegistration.Register(action, typeof(PlaybackModelChangedMessage));
예제 #10
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <Song> action) => MessageRegistration.Register(action, typeof(SongStartedMessage));
예제 #11
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action action) => MessageRegistration.Register(action, typeof(StorageDataAvailableMessage));
예제 #12
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <Playlist> action) => MessageRegistration.Register(action, typeof(PlaylistUpdatedMessage));
예제 #13
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <List <string> > action) => MessageRegistration.Register(action, typeof(TagMembershipChangedMessage));
예제 #14
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <Song, bool> action) => MessageRegistration.Register(action, typeof(PlaySongMessage));
예제 #15
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action action) => MessageRegistration.Register(action, typeof(ShuffleModeChangedMessage));
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <PlaybackDevice> action) => MessageRegistration.Register(action, typeof(PlaybackDeviceAvailableMessage));
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <int> action) => MessageRegistration.Register(action, typeof(MediaControlSeekToMessage));
예제 #18
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action action) => MessageRegistration.Register(action, typeof(MediaControlStartMessage));
예제 #19
0
 /// <summary>
 /// Provide a static Register method in order to check the provided action at compile time
 /// </summary>
 /// <param name="action"></param>
 public static void Register(Action <int, int> action) => MessageRegistration.Register(action, typeof(MediaProgressMessage));