/// <summary> /// Initializes a new instance of the <see cref="YandexMusicDirectUrlLoader"/> class. /// </summary> /// <param name="config">Config instance for performing requests</param> public YandexMusicDirectUrlLoader(IYandexConfig config) { config.Load(); _config = config; }
/// <summary> /// Initializes a new instance of the <see cref="YandexMusicTrackLoader"/> class. /// </summary> /// <param name="config">Config instance for performing requests</param> public YandexMusicTrackLoader(IYandexConfig config) { config.Load(); Config = config; }
/// <summary> /// Initializes a new instance of the <see cref="YandexMusicSearchResultLoader"/> class. /// </summary> /// <param name="config">Config instance for performing requests</param> /// <param name="playlistLoader">Playlist loader instance for resolving albums and playlists</param> public YandexMusicSearchResultLoader(IYandexConfig config, IYandexMusicPlaylistLoader playlistLoader) { _playlistLoader = playlistLoader; config.Load(); _config = config; }