Пример #1
0
 public CCMOrigination(Application app, string userToken, CCM ccm, RestStrategy restStrategy, SoapStrategy soapStrategy)
 {
     _app          = app;
     _userToken    = userToken;
     _ccm          = ccm;
     _restStrategy = restStrategy;
     _soapStrategy = soapStrategy;
 }
Пример #2
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);
 }
Пример #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);
 }
Пример #4
0
 public CCMOrigination()
 {
     _ccm = new CCM();
 }