public IOCLocator(ISQLiteConnectionDependency sqliiteConnectionDependency, IMapperDependency mapperDependency, INetworkDependency networkDependency, IUserPreferences userPreferences, ICUCService cucService, ILoginService logService, IValidBonusService validBonusService, IBonusDataRepository bonusDataRepository, ITokenDataRepository tokenDataRepository, IUserDataRepository userDataRepository, IWSLoginRepository wsLoginRepository, IWSValidBonoRepository wsValidBonoRepository) { SQLiteConnectionDependency = sqliiteConnectionDependency; MapperDependency = mapperDependency; NetworkDependency = networkDependency; UserPreferences = userPreferences; CUCService = cucService; LogService = logService; ValidBonusService = validBonusService; BonusDataRepository = bonusDataRepository; TokenDataRepository = tokenDataRepository; UserDataRepository = userDataRepository; WSLoginRepository = wsLoginRepository; WSValidBonoRepository = wsValidBonoRepository; }
public ApiClient(string baseUrl, INetworkDependency networkDependency, IUserPreferences userPreferences) { this.BaseUrl = baseUrl; this.UserPreferences = userPreferences; _client = CreateClient(); _networkDependency = networkDependency; }