Пример #1
0
        internal DeezerClient(DeezerSession aSession, HttpMessageHandler httpMessageHandler = null, bool isUnderTest = false)
        {
            iSession = aSession;

            if (isUnderTest)
            {
                iExecutor = new ExecutorService("http://localhost:10024", httpMessageHandler);
            }
            else
            {
                iExecutor = new ExecutorService(httpMessageHandler);
            }
        }
Пример #2
0
        internal DeezerClient(DeezerSession aSession)
        {
            iSession = aSession;

            iExecutor = new ExecutorService();
        }
Пример #3
0
 internal DeezerClient(DeezerSession aSession, HttpMessageHandler httpMessageHandler = null)
 {
     iSession = aSession;
     executor = new ExecutorService(httpMessageHandler);
 }