public OptionService(IOptionRepository optionRepository, IMapper mapper, IPollOptionService pollOptionService) : base(optionRepository) { _optionRepository = optionRepository; _mapper = mapper; _pollOptionService = pollOptionService; }
public AuthenticateViewModel(IOptionRepository conf, TwitterService twitterService) { _twitterService = twitterService; _optionRepository = conf; GetPinCommand = new RelayCommand(OnGetPin); SignInComannd = new RelayCommand(OnSignIn); }
public OptionManagementService(IOptionRepository optionRepository) : base(optionRepository) { Mapper.Initialize(cfg => { cfg.CreateMap <SYS_Option, SYS_OptionDTO>(); cfg.CreateMap <SYS_DetailOption, SYS_DetailOptionDTO>(); }); _log = new Logger(); _OptionRepository = optionRepository; }
public ServiceViewModelHandler(IEntityRepository <ILKGEntity> entityRepository, IServiceRepository serviceRepository, IFormRepository formRepository, IFormFieldRepository formFieldRepository, IOptionRepository optionRepository, IServiceFactory serviceFactory, IFormFactory formFactory, IFormFieldFactory formFieldFactory, IOptionFactory optionFactory, IFormFieldTypeRepository formFieldTypeRepository, IFormFieldValidationRuleFactory formFieldValidationRuleFactory, IValidationRuleRepository validationRuleRepository) { this.entityRepository = entityRepository; this.serviceRepository = serviceRepository; this.formRepository = formRepository; this.formFieldRepository = formFieldRepository; this.optionRepository = optionRepository; this.serviceFactory = serviceFactory; this.formFactory = formFactory; this.formFieldFactory = formFieldFactory; this.optionFactory = optionFactory; this.formFieldTypeRepository = formFieldTypeRepository; this.formFieldValidationRuleFactory = formFieldValidationRuleFactory; this.validationRuleRepository = validationRuleRepository; }
public SubjectService(ISubjectRepository repository, IMapper mapper, IUnitOfWork unitOfWork, IOptionRepository optionRp) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _optionRp = optionRp ?? throw new ArgumentNullException(nameof(optionRp)); }
public QuestionnaireManager(IQuestionRepository questionRepository, IAnswerRepository answerRepository, IOptionRepository optionRepository, IQuestionnaireRepository questionnaireRepository, IProjectManager projectManager) { _questionRepository = questionRepository; _answerRepository = answerRepository; _optionRepository = optionRepository; _questionnaireRepository = questionnaireRepository; _projectManager = projectManager; }
private readonly IStatsService statsService; // Bit wierd. Passing in repositories and services. Which one should it be #endregion Fields #region Constructors public CompetitionService(ICompetitionRepository competitionRepository, IOptionRepository optionRepository, IStatsService statsService) { this.competitionRepository = competitionRepository; this.optionRepository = optionRepository; this.statsService = statsService; }
public OpenAnswersController(IOpenAnswerRepository openAnswerRepository, IOptionRepository optionRepository, IUserRepository userRepository, IMapper mapper) { _openAnswerRepository = openAnswerRepository; _optionRepository = optionRepository; _userRepository = userRepository; _mapper = mapper; }
private readonly IStatsService statsService; // Bit wierd. Passing in repositories and services. Which one should it be public CompetitionService(ICompetitionRepository competitionRepository, IOptionRepository optionRepository, IStatsService statsService) { this.competitionRepository = competitionRepository; this.optionRepository = optionRepository; this.statsService = statsService; }
public UserManagementService(IUserRepository userRepository, ICompanyRepository companyRepository, IOptionRepository optionRepository, IUserService userService) : base(userRepository) { _log = new Logger(); _CompanyRepository = companyRepository; _OptionRepository = optionRepository; _UserRepository = userRepository; _UserService = userService; }
public OptionsController(IOptionRepository optionRepository, IQuestionRepository questionRepository, IMapper mapper, ILogger <OptionsController> logger) { _optionRepository = optionRepository; _questionRepository = questionRepository; _mapper = mapper; _logger = logger; }
public CreateOptionProductHandler( IProductRepository productRepository, IOptionRepository optionRepository, NotificationContext notificationContext) { _productRepository = productRepository; _optionRepository = optionRepository; _notificationContext = notificationContext; }
public PutProductOptionHandler( NotificationContext notificationContext, IProductRepository productRepository, IOptionRepository optionRepository) { _notificationContext = notificationContext; _productRepository = productRepository; _optionRepository = optionRepository; }
public OptionsOneViewModel(IOptionRepository conf, TwitterService twitterService) { SaveCommand = new RelayCommand(OnSave); ResetCommand = new RelayCommand(ResetApplication); DelfaultCommand = new RelayCommand(OnDelfault); LogOutCommand = new RelayCommand(OnLogOut); _optionRepository = conf; _twitterService = twitterService; }
public PutOptionItemHandler( NotificationContext notificationContext, IOptionRepository optionRepository, IItemRepository itemRepository) { _notificationContext = notificationContext; _optionRepository = optionRepository; _itemRepository = itemRepository; }
public FormModelBuilder(IFormRepository formRepository, IFormFieldRepository formFieldRepository, IOptionRepository optionRepository, IFormFieldTypeRepository formFieldTypeRepository) { this.formRepository = formRepository; this.formFieldRepository = formFieldRepository; this.optionRepository = optionRepository; this.formFieldTypeRepository = formFieldTypeRepository; }
public OptionService(IMapper mapper, IOptionRepository optionRepository, IMemoryCache memoryCache, ILogger <DungeonService> logger) { _optionRepository = optionRepository; _memoryCache = memoryCache; _mapper = mapper; _logger = logger; }
public AdminOptionsService( IOptionRepository optionRepository, IAdminCommonDeleteService adminDeleteService, IAdminCommonEditService adminEditService, IAdminCommonCreateService adminCreateService) { this.optionRepository = optionRepository; this.adminDeleteService = adminDeleteService; this.adminEditService = adminEditService; this.adminCreateService = adminCreateService; }
public OptionsController( IAdminOptionsService adminOptionsService, ICookiesService cookiesService, IOptionRepository optionRepository, IAdminOptionTypesService adminOptionTypesService) { this.adminOptionsService = adminOptionsService; this.cookiesService = cookiesService; this.optionRepository = optionRepository; this.adminOptionTypesService = adminOptionTypesService; }
public OptionAnswersController(IMapper mapper, IOptionAnswerRepository optionAnswerRepository, IUserRepository userRepository, IOptionRepository optionRepository, IUserExercisePointRepository userExercisePointRepository, IExerciseRepository exerciseRepository, ISubexerciseRepository subexerciseRepository) { _userRepository = userRepository; _mapper = mapper; _optionAnswerRepository = optionAnswerRepository; _optionRepository = optionRepository; _userExercisePointRepository = userExercisePointRepository; _exerciseRepository = exerciseRepository; _subexerciseRepository = subexerciseRepository; }
public AdminController(IUserRepository usrepo, IQuestionRepository quesrepo, IEvntRepository evrepo, IAnswerRepository ansrepo, ICourseRepository currepo, IExamRepository exrepo, IOptionRepository oprepo, IRegistrationRepository regrepo, IResultRepository resrepo) { this.evrepo = evrepo; this.usrepo = usrepo; this.quesrepo = quesrepo; this.ansrepo = ansrepo; this.currepo = currepo; this.exrepo = exrepo; this.oprepo = oprepo; this.regrepo = regrepo; this.resrepo = resrepo; }
public UnitOfWork(IExamBuilderDbContext context, IUserRepository users, IOptionRepository options, IExamRepository exams, IQuestionRepository questions) { _context = context; Exams = exams; Options = options; Questions = questions; Users = users; }
public OptionService( IMapper mapper, IOptionRepository optionRepository, IVotingHubClient votingHubClient, IVotingService votingService) { DependencyHelper.ThrowIfNull(mapper, optionRepository, votingHubClient, votingService); _mapper = mapper; _optionRepository = optionRepository; _votingHub = votingHubClient; _votingService = votingService; }
public DungeonService(IMapper mapper, IDungeonRepository dungeonRepository, IDungeonOptionRepository dungeonOptionRepository, IOptionRepository optionRepository, IDungeonHelper dungeonHelper, ILogger <DungeonService> logger) { _dungeonRepository = dungeonRepository; _dungeonOptionRepository = dungeonOptionRepository; _optionRepository = optionRepository; _dungeonHelper = dungeonHelper; _mapper = mapper; _logger = logger; }
public ConfigurationService( ISiteRepository siteRepository, IOptionRepository optionRepository, IEndpointRepository endpointRepository, ISiteHealthUnitOfWork uow) { _siteRepository = siteRepository; _optionRepository = optionRepository; _endpointRepository = endpointRepository; _uow = uow; _simpleMapper = CreateSimpleMapper(); _deepMapper = CreateMapperWithChilds(); }
public ServiceModelHandler(IEntityRepository <ILKGEntity> entityRepository, IServiceRepository serviceRepository, IServiceFactory serviceFactory, IFormRepository formRepository, IFormFieldRepository formFieldRepository, IOptionRepository optionRepository) { this.entityRepository = entityRepository; this.serviceRepository = serviceRepository; this.serviceFactory = serviceFactory; this.formRepository = formRepository; this.formFieldRepository = formFieldRepository; this.optionRepository = optionRepository; }
public AdminController(IUserRepository userRepository, ISurveyRepository surveyRepository, ISurveyQuestionRepository surveyQuestionRepository, IOptionRepository optionRepository, IOptionsForAnswerRepository optionsForAnswerRepository, IUserAnswerRepository userAnswerRepository) { this.userRepository = userRepository; this.surveyRepository = surveyRepository; this.surveyQuestionRepository = surveyQuestionRepository; this.optionRepository = optionRepository; this.optionsForAnswerRepository = optionsForAnswerRepository; this.userAnswerRepository = userAnswerRepository; }
public AppearanceViewModel(IOptionRepository conf) { _themes.Add(new Link { DisplayName = "Dark", Source = AppearanceManager.DarkThemeSource }); _themes.Add(new Link { DisplayName = "Light", Source = AppearanceManager.LightThemeSource }); _optionRepository = conf; SyncThemeAndColor(); AppearanceManager.Current.PropertyChanged += OnAppearanceManagerPropertyChanged; }
public TwitterService(IOptionRepository conf) { TweetTimeline timeline = new TweetTimeline(); _timeline = timeline; _config = conf; ShowUserInformationCommand = new RelayCommand <string>(OnShowUserInformation); OpenTweetLinkCommand = new RelayCommand <Tweet>(OnOpenTweetLink); ImageViewCommand = new RelayCommand <string>(OnImageView); ReplyCommand = new RelayCommand <Tweet>(OnReply); RetweetCommand = new RelayCommand <Tweet>(OnRetweet); DeleteTweetCommand = new RelayCommand <Tweet>(OnDeleteTweet); FavoritesCommand = new RelayCommand <Tweet>(OnLikeTweet); CopyCommand = new RelayCommand <Tweet>(OnCopy); SwitchTimelinesCommand = new RelayCommand <View>(OnSwitchTimelines); }
public QuestionService(IQuestionRepository questionRepository, UserManager <User> userManager, IOptionRepository optionRepository, IMapper mapper, IUserScoreRepository userScoreRepository, ICategoryRepository categoryRepository, IDigitalFileRepository digitalFileRepository, IScoreRepository scoreRepository, IEmailService emailService, ICacheService cacheService, IAppSettingsService appSettings) { this._digitalFileRepository = digitalFileRepository; this._scoreRepository = scoreRepository; this._emailService = emailService; this._cacheService = cacheService; this._appSettings = appSettings; this._categoryRepository = categoryRepository; this._userScoreRepository = userScoreRepository; this._mapper = mapper; this._optionRepository = optionRepository; this._questionRepository = questionRepository; this._userManager = userManager; }
public TestController(ILogger <TestController> logger, IUserRepository repo, ITestRepository testRepo, ITaskRepository taskRepo, IOptionRepository optionRepo, ITestResultRepository testResultRepo, ITaskResultRepository taskResultRepo, IOptionResultRepository optionResultRepo) { _logger = logger; _userRepo = repo; _testRepo = testRepo; _taskRepo = taskRepo; _testResultRepo = testResultRepo; _taskResultRepo = taskResultRepo; _optionRepo = optionRepo; _optionResultRepo = optionResultRepo; }
public OptionService(IOptionRepository optionRepository) { this._optionRepository = optionRepository; }