public HttpClientFactory(ITrackingService trackingService, IConfigService configService,
                          IOriginSQLUserService originSQLUserService,
                          IOriginSQLPasswordService originSQLPasswordService)
 {
     _trackingService          = trackingService;
     _configService            = configService;
     _originSQLUserService     = originSQLUserService;
     _originSQLPasswordService = originSQLPasswordService;
     _httpClients = new ConcurrentDictionary <Uri, HttpClient>();
 }
예제 #2
0
 public SmsRepo(IHttpClientRepo httpClientRepo,
                ILoggerService loggerService,
                IConfigService configService,
                IOriginSQLUserService originSQLUserService,
                IOriginSQLPasswordService originSQLPasswordService,
                IConnectionFactory connectionFactory)
 {
     _httpClientRepo           = httpClientRepo;
     _originSQLUserService     = originSQLUserService;
     _originSQLPasswordService = originSQLPasswordService;
     _connectionFactory        = connectionFactory;
     _configService            = configService;
     connection     = configService.GetDefaultConnectionString();
     _loggerService = loggerService;
 }