示例#1
0
 public CCMOrigination(Application app, string userToken, RestStrategy restStrategy)
 {
     _app          = app;
     _userToken    = userToken;
     _ccm          = new CCM(app, userToken);
     _restStrategy = restStrategy;
     _soapStrategy = new SoapStrategy(app, userToken);
 }
示例#2
0
 public CCMOrigination(Application app, string userToken, CCM ccm, RestStrategy restStrategy, SoapStrategy soapStrategy)
 {
     _app          = app;
     _userToken    = userToken;
     _ccm          = ccm;
     _restStrategy = restStrategy;
     _soapStrategy = soapStrategy;
 }
示例#3
0
 public CCMOrigination(string userToken)
 {
     _app            = new Application();
     _userToken      = userToken;
     _ccm            = new CCM(_app, userToken);
     _restStrategy   = new RestStrategy(_app, userToken);
     _soapRepository = new SoapRepository(userToken);
     _soapStrategy   = new SoapStrategy(_app, userToken, _soapRepository);
 }