public UserService(IUserRepository userRepository, IAccountRepository accountRepository, IPreferencesRepository preferencesRepository, IActualPreferencesRepository actualPreferencesRepository) { this.UserRepository = userRepository; this.PreferencesRepository = preferencesRepository; this.ActualPreferencesRepository = actualPreferencesRepository; this.AccountRepository = accountRepository; }
public ExportableTransaction(IRepositoryFactory repositoryFactory, IUserSessionService userService) { this.userService = userService; categoryRepository = repositoryFactory.CreateCategoryRepository(); preferencesRepository = repositoryFactory.CreatePreferencesRepository(); }
private DataRepos() { Locations = new PostgresqLocationsRepository(_CONNECTION_STRING); var connection = ((AbstractPostgresqlRepository)Locations).Connection; Photos = new PostgresqPhotosRepository(connection); Offers = new PostgresqOffersRepository(connection); Preferences = new PostgresqPreferencesRepository(connection); }
public PreferencesContainer(IPreferencesRepository preferencesRepository = null) { PreferencesRepository = preferencesRepository; _localChangesCount = 0; }
public RestClient(IConfigurationSettingsRepository configurationSettingsRepository, IPreferencesRepository preferenceRepository) { this.preferenceRepository = preferenceRepository; this.configurationSettingsRepository = configurationSettingsRepository; }
public NudgeService(INudgeRepository nudgeRepository, IPreferencesRepository preferencesRepository, INudgeOracleRepository anonymousNudgesRepository) { this.NudgeRepository = nudgeRepository; this.PreferencesRepository = preferencesRepository; this.AnonymousNudgeOracleRepository = anonymousNudgesRepository; }
public PreferencesService(IPreferencesRepository preferencesRepository, IUnitOfWork unitOfWork) { this.preferencesRepository = preferencesRepository; this.unitOfWork = unitOfWork; }