Example #1
0
		public DataClient (IMapperService mapperService, 
			IConnectivityService connectivityService,
			ISerializerService serializerService,
			IHttpService httpService,
			IAppConfig appConfig)
		{
			_mapperService = mapperService.ThrowIfNull ("mapperService");
			_connectivityService = connectivityService.ThrowIfNull ("connectivityService");
			_serializerService = serializerService.ThrowIfNull ("serializerService");
			_httpService = httpService.ThrowIfNull ("httpService");
			_appConfig = appConfig.ThrowIfNull ("appConfig");
		}
Example #2
0
 public DataClient(IMapperService mapperService,
                   IConnectivityService connectivityService,
                   ISerializerService serializerService,
                   IHttpService httpService,
                   IAppConfig appConfig)
 {
     _mapperService       = mapperService.ThrowIfNull("mapperService");
     _connectivityService = connectivityService.ThrowIfNull("connectivityService");
     _serializerService   = serializerService.ThrowIfNull("serializerService");
     _httpService         = httpService.ThrowIfNull("httpService");
     _appConfig           = appConfig.ThrowIfNull("appConfig");
 }