示例#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);
 }