public LearningSessionService( IMapper mapper, ILearningSessionFactory learningSessionFactory, IRepository <LearningSession> learningSessionRepository, IFactRepository factRepository) { _mapper = mapper; _learningSessionFactory = learningSessionFactory; _learningSessionRepository = learningSessionRepository; _factRepository = factRepository; }
public CommonData(IFactRepository factRepository, ISettingsRepository settingsRepository) { _factRepository = factRepository; _settingsRepository = settingsRepository; FactCount = 1361; AllReadedFacts = _factRepository.GetAllFacts(); AlreadyGeneratedNames = new List <int>(); var settings = _settingsRepository.GetSettings(); IsNightMode = settings != null && settings.IsNightMode; BGSource = settings != null ? settings.BGSource : "BG_3.jpg"; }
public FactService(IFactRepository factRepository) { _factRepository = factRepository; }
public SubmissionsController(IFactRepository factRepo, ISubmissionRepository submissionRepo) { _factRepo = factRepo; _submissionRepo = submissionRepo; }
public FactService(IFactRepository factRepository) { _rnd = new Random(); _fontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label)); _factRepository = factRepository; }
public FactsController(IFactRepository factRepository, IMapper mapper) { _factRepo = factRepository; _mapper = mapper; }
public PingScheduler(IPing ping, IFactRepository factRepository) { this.ping = ping; this.factRepository = factRepository; }
public FactsController(IFactRepository factRepo) { _factRepo = factRepo; }