Exemple #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);
            }
        }
Exemple #2
0
        internal DeezerClient(DeezerSession aSession)
        {
            iSession = aSession;

            iExecutor = new ExecutorService();
        }
Exemple #3
0
 internal DeezerClient(DeezerSession aSession, HttpMessageHandler httpMessageHandler = null)
 {
     iSession = aSession;
     executor = new ExecutorService(httpMessageHandler);
 }