コード例 #1
0
        protected override void SetUp()
        {
            base.SetUp();

            container.Rebind <IYandexCredentials>().ToConstant(new YandexCredentials(container.Get <IJsonSerializer>(), "*****@*****.**", "tc_123456"));
            yandexMusicClient = container.Get <IYandexMusicClient>();
        }
コード例 #2
0
 public YandexTracksGrabber(IYandexMusicClient client, ILogger <YandexTracksGrabber> logger)
 {
     _client = client;
     _logger = logger;
 }