/// <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(SelectedLibraryChangedMessage));
Example #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 <Song, bool> action) => MessageRegistration.Register(action, typeof(PlaySongMessage));
Example #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));
Example #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 <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 <bool> action) => MessageRegistration.Register(action, typeof(MediaPlayingMessage));
Example #7
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));
Example #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(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 <int> action) => MessageRegistration.Register(action, typeof(MediaControlSeekToMessage));
Example #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 action) => MessageRegistration.Register(action, typeof(PlaybackModelChangedMessage));
Example #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 <Song> action) => MessageRegistration.Register(action, typeof(SongStartedMessage));
Example #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 action) => MessageRegistration.Register(action, typeof(StorageDataAvailableMessage));
Example #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 <Playlist> action) => MessageRegistration.Register(action, typeof(PlaylistUpdatedMessage));
Example #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 <List <string> > action) => MessageRegistration.Register(action, typeof(TagMembershipChangedMessage));
 /// <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));
 /// <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));
Example #17
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));
Example #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 <int, int> action) => MessageRegistration.Register(action, typeof(MediaProgressMessage));