Пример #1
0
 public SWGoHHelpPlayerRepository(SWGoHHelpSettings settings, CacheClient cacheClient, IMapper mapper)
 {
     _settings    = settings;
     _cacheClient = cacheClient;
     _mapper      = mapper;
     if (_mapper == null)
     {
         _mapper = new MappingConfiguration().GetConfigureMapper();
     }
     _url = settings.Protocol + "://" + settings.Host + settings.Port + "/swgoh/player/";
 }
Пример #2
0
 public Authentication(SWGoHHelpSettings settings, CacheClient cacheClient)
 {
     _cacheClient = cacheClient;
     _settings    = settings;
 }