/// <summary> /// Initializes a new instance of the DownloadingSongsViewModel class. /// </summary> public DownloadingSongsViewModel(IExtendedNavigationService navigationService, IMusicClient musicClient, IAsyncStorageService asyncStorageService) { _navigationService = navigationService; _musicClient = musicClient; _asyncStorageService = asyncStorageService; }
/// <summary> /// Initializes a new instance of the <see cref="MusicClientAsync" /> class. /// </summary> /// <param name="appId">The App ID obtained from api.developer.nokia.com</param> /// <param name="appCode">The App Code obtained from api.developer.nokia.com</param> /// <param name="countryCode">The country code.</param> public MusicClientAsync(string appId, string appCode, string countryCode) { this._musicClient = new MusicClient(appId, appCode, countryCode); }
/// <summary> /// Initializes a new instance of the <see cref="MusicClientAsync" /> class. /// </summary> /// <param name="appId">The App ID obtained from api.developer.nokia.com</param> /// <param name="appCode">The App Code obtained from api.developer.nokia.com</param> /// <param name="countryCode">The country code.</param> /// <param name="requestHandler">The request handler.</param> /// <remarks> /// Allows custom requestHandler for testing purposes /// </remarks> internal MusicClientAsync(string appId, string appCode, string countryCode, IApiRequestHandler requestHandler) { this._musicClient = new MusicClient(appId, appCode, countryCode, requestHandler); }
public RadioService(IMusicClient musicClient) { _musicClient = musicClient; }