public void Dispose() { _roleRepository = null; _userRepository = null; _claimRepository = null; _context.Dispose(); }
public ClaimLogic(IConfiguration configuration, IHostingEnvironment hostingEnvironment) { _configuration = configuration; _hostingEnvironment = hostingEnvironment; claimRepository = new ClaimRepository(_configuration, _hostingEnvironment); }
public PeriodManagerService( IPeriodRepository periodRep, IEmployeeRepository employeeRepository, ICalculationRepository calcRep, IJobPositionRepository jobPositionRep, IJobIndexPointRepository jobIndexPointRep, IInquiryJobIndexPointRepository inquiryJobIndexPointRep, IInquiryUnitIndexPointRepository inquiryUnitIndexPointRep, IClaimRepository claimRep, IEventPublisher publisher, IInquiryConfiguratorService inquiryConfiguratorService, IPeriodBasicDataCopierService periodCopierService , IEmployeePointManagerService employeePointManagerService ) { this.periodRep = periodRep; this.employeeRepository = employeeRepository; this.inquiryConfiguratorService = inquiryConfiguratorService; this.periodCopierService = periodCopierService; this.publisher = publisher; this.calcRep = calcRep; this.jobIndexPointRep = jobIndexPointRep; this.jobPositionRep = jobPositionRep; this.inquiryJobIndexPointRep = inquiryJobIndexPointRep; this.claimRep = claimRep; this.inquiryUnitIndexPointRep = inquiryUnitIndexPointRep; this.employeePointManagerService = employeePointManagerService; }
public UpdateUserClaimsOperation( IResourceOwnerRepository resourceOwnerRepository, IClaimRepository claimRepository) { _resourceOwnerRepository = resourceOwnerRepository; _claimRepository = claimRepository; }
private void resetRepositories() { _claimRepository = null; _externalLoginRepository = null; _roleRepository = null; _userRepository = null; }
/// <summary> /// Instantiate an UpdateClaimInteractor with a mock repository that stores a list of claims to test against /// </summary> public static UpdateClaimInteractor Create(IClaimRepository listRepository) { IStatusRepository mirrorStatusRepo = new MirrorStatusRepository(); var interactor = new UpdateClaimInteractor(listRepository, mirrorStatusRepo); return(interactor); }
public ClaimsController(IClaimRepository claimRepository, IStaffRepository staffRepository, IProjectRepository projectRepository, IStaffProjectMapRepository staffProjectMapRepository, IDepartmentRepository departmentRepository) { _claimRepository = claimRepository; _staffRepository = staffRepository; _projectRepository = projectRepository; _staffProjectMapRepository = staffProjectMapRepository; _departmentRepository = departmentRepository; }
public ClaimsController(ILogger <PoliciesController> logger, IClientRepository clientRepository, IPolicyRepository policyRepository, IClaimRepository claimRepository) { _logger = logger; _clientRepository = clientRepository; _policyRepository = policyRepository; _claimRepository = claimRepository; }
public ClaimController(IClaimRepository claimRepository, IRemoveInvalidCharFromXML removeInvalidCharFromXML, ILogger <ClaimController> logger) { _claimRepository = claimRepository; _removeInvalidCharFromXML = removeInvalidCharFromXML; defaultCostCenter = _claimRepository.getDefaultCostCenter(); _logger = logger; }
public ClaimsService(IClaimRepository claimRepository, IScopeRepository scopeRepository, IScopeClaimRepository scopeClaimRepository, IUserScopeClaimRepository userScopeClaimRepository) { _claimRepository = claimRepository; _scopeRepository = scopeRepository; _scopeClaimRepository = scopeClaimRepository; _userScopeClaimRepository = userScopeClaimRepository; }
public AddUserOperation( IResourceOwnerRepository resourceOwnerRepository, IClaimRepository claimRepository, IAuthenticateResourceOwnerService authenticateResourceOwnerService) { _resourceOwnerRepository = resourceOwnerRepository; _claimRepository = claimRepository; _authenticateResourceOwnerService = authenticateResourceOwnerService; }
public UserAuthenticationService(IUserRepository userRepository, IClaimRepository claimRepository, IStudentRepository stRepo, ITeacherRepository trRepo, IParentRepository prRepo) { this.userRepo = userRepository; this.claimRepo = claimRepository; this.teacherRepo = trRepo; this.studentRepo = stRepo; this.parentRepo = prRepo; }
public void Setup() { _options = new DbContextOptionsBuilder <ClaimDataContext>() .UseInMemoryDatabase(databaseName: "Claims") .Options; _context = new ClaimDataContext(_options); _repository = new ClaimRepository(_context); }
public ClaimService( IPermissionRepository permissionRepository, IClaimRepository claimRepository, IUnitOfWork uow) { _permissionRepository = permissionRepository; _claimRepository = claimRepository; _unitOfWork = uow; }
public BaseSecurityController() { PermissionRepository = Injection.Get <IPermissionRepository>(); GroupRepository = Injection.Get <IGroupRepository>(); AccountRepository = Injection.Get <IAccountRepository>(); ClaimRepository = Injection.Get <IClaimRepository>(); Uow = Injection.Get <IAuthUnitOfWork>(); }
public LoginCallbackAction( IResourceOwnerRepository resourceOwnerRepository, IClaimRepository claimRepository, IAuthenticateResourceOwnerService authenticateResourceOwnerService) { _resourceOwnerRepository = resourceOwnerRepository; _claimRepository = claimRepository; _authenticateResourceOwnerService = authenticateResourceOwnerService; }
public RegisterUserHandler(IUserRepository userRepository, ICompanyRepository companyRepository, IAddressRepository addressRepository, IClaimRepository claimRepository, IBaseRepository baseRepository) { _userRepository = userRepository; _addressRepository = addressRepository; _companyRepository = companyRepository; _baseRepository = baseRepository; _claimRepository = claimRepository; }
public RoleController(RoleManager <IdentityRole> roleManager , UserManager <SuUserModel> userManager , IClaimRepository Claim , ILanguageRepository language , SuDbContext context) : base(userManager, language) { _roleManager = roleManager; _claim = Claim; _context = context; }
public PurchaseOrdersController(IPurchaseOrdersRepository PurchaseOrdersRepo, ILoggerFactory loggerFactory, INotesAndDocHelper NotesAndDoc, IConfiguration config, IItemServiceHelper ItemsHelper, IEventRepo eventRepo, iBarcodeRangeRepo barcodeRangeRepo, IClaimRepository claimRepository) { _eventRepo = eventRepo; _config = config; _PurchaseOrdersRepo = PurchaseOrdersRepo; _loggerFactory = loggerFactory; _NotesAndDoc = NotesAndDoc; _ItemsHelper = ItemsHelper; _BarcodeRangeRepo = barcodeRangeRepo; _claimRepository = claimRepository; }
public ExternalOpenIdUserAuthenticationAction( IAuthenticateHelper authenticateHelper, IResourceOwnerRepository resourceOwnerRepository, IAuthenticateResourceOwnerService authenticateResourceOwnerService, IClaimRepository claimRepository) { _authenticateHelper = authenticateHelper; _resourceOwnerRepository = resourceOwnerRepository; _authenticateResourceOwnerService = authenticateResourceOwnerService; _claimRepository = claimRepository; }
public ClaimsPrincipalService(IUserScopeClaimRepository userScopeClaimRepository, IScopeClaimRepository scopeClaimRepository, IClaimRepository claimRepository, IScopeRepository scopeRepository, IClaimsService claimService, IScopeService scopeService, IUserScopeRepository userScopeRepository, IUserClaimRepository userClaimRepository) { _userScopeClaimRepository = userScopeClaimRepository; _scopeClaimRepository = scopeClaimRepository; _claimRepository = claimRepository; _scopeRepository = scopeRepository; _claimService = claimService; _scopeService = scopeService; _userScopeRepository = userScopeRepository; _userClaimRepository = userClaimRepository; }
public ClaimGenerator( IPluginsContainer<IClaimProvider> claimProviders, IDslModel dslModel, IDomainObjectModel domainObjectModel, ILogProvider logProvider, IClaimRepository claimRepository) { _claimProviders = claimProviders; _dslModel = dslModel; _performanceLogger = logProvider.GetLogger("Performance"); _logger = logProvider.GetLogger("ClaimGenerator"); _claimRepository = claimRepository; }
public AuthorizationService( IGroupRepository groupRepository, IPermissionRepository permissionRepository, IAccountRepository accountRepository, IClaimRepository claimRepository, IUnitOfWork uow) { _permissionRepository = permissionRepository; _groupRepository = groupRepository; _claimRepository = claimRepository; _unitOfWork = uow; _accountRepository = accountRepository; }
public PeriodClaimServiceFacade(IClaimService claimService, IMapper <Claim, ClaimDTO> claimDTOMapper, IMapper <Claim, ClaimDTOWithAction> claimDTOWithActionsMapper, IMapper <ClaimState, ClaimStateDTO> claimStateDTOMapper, IMapper <ClaimTypeEnum, ClaimTypeDTO> claimTypeDTOMapper, IClaimRepository claimRep) { this.claimService = claimService; this.claimDTOMapper = claimDTOMapper; this.claimDTOWithActionsMapper = claimDTOWithActionsMapper; this.claimStateDTOMapper = claimStateDTOMapper; this.claimTypeDTOMapper = claimTypeDTOMapper; this.claimRep = claimRep; }
public ClaimPollingAgent(ILogManager logManager, IEventCustomerRepository eventCustomerRepository, ISettings settings, IBillingAccountRepository billingAccountRepository, IEncounterRepository encounterRepository, IClaimRepository claimRepository, IOrderRepository orderRepository, ICombinedPaymentInstrumentRepository paymentInstrumentRepository, IUniqueItemRepository <Event> eventRepository) { _logger = logManager.GetLogger <ClaimPollingAgent>(); _eventCustomerRepository = eventCustomerRepository; _settings = settings; _kareoApi = new KareoApi(); _billingAccountRepository = billingAccountRepository; _encounterRepository = encounterRepository; _claimRepository = claimRepository; _orderRepository = orderRepository; _paymentInstrumentRepository = paymentInstrumentRepository; _eventRepository = eventRepository; }
public RoleClaimAggregationRepository(IRoleRepository roleRepository, IRoleClaimRepository roleClaimRepository, IUserRoleRepository userRoleRepository, IAccountRepository accountRepository, IClaimRepository claimRepository, IMySqlConnHelper mySqlConnHelper) { _roleRepository = roleRepository; _roleClaimRepository = roleClaimRepository; _userRoleRepository = userRoleRepository; _accountRepository = accountRepository; _claimRepository = claimRepository; _mySqlConnHelper = mySqlConnHelper; }
public ChangeClaimStateService( IClaimStateFactory claimStateFactory, IClaimRepository claimRepository, IClaimStateRepository stateRepository, IClaimWorkflowService claimWorkflowService, IGetClaimService getClaimService, IEmailSender emailSender) { this.claimStateFactory = claimStateFactory; this.claimRepository = claimRepository; this.stateRepository = stateRepository; this.claimWorkflowService = claimWorkflowService; this.getClaimService = getClaimService; this.emailSender = emailSender; }
public AddUserOperation(IResourceOwnerRepository resourceOwnerRepository, IClaimRepository claimRepository, ILinkProfileAction linkProfileAction, IAccountFilter accountFilter, IOpenIdEventSource openIdEventSource, IEnumerable <IUserClaimsEnricher> userClaimsEnricherLst, ISubjectBuilder subjectBuilder) { _resourceOwnerRepository = resourceOwnerRepository; _claimRepository = claimRepository; _linkProfileAction = linkProfileAction; _accountFilter = accountFilter; _openidEventSource = openIdEventSource; _userClaimsEnricherLst = userClaimsEnricherLst; _subjectBuilder = subjectBuilder; }
public ClientRepository( IClientFactory factory, ISecretsRepository secretsRepo, IScopeRepository scopeRepo, IClaimRepository claimRepo, IGrantTypeRepository grantRepo, ResourceConfigDbContext context ) { _factory = factory; _secretsRepo = secretsRepo; _scopeRepo = scopeRepo; _claimRepo = claimRepo; _grantRepo = grantRepo; ctx = context; }
public override void Initialize() { base.Initialize(); var context = Factory.Get(); Uow = new AuthUnitOfWork(Factory); PermissionRepository = new PermissionRepository(Factory); GroupRepository = new GroupRepository(Factory); AccountRepository = new AccountRepository(Factory); UserRepository = new UserRepository(IdentityUserStore, Factory); ClaimRepository = new ClaimRepository(Factory); AuthorizationService = new AuthorizationService(GroupRepository, PermissionRepository, AccountRepository, ClaimRepository, Uow); }
public UpdateClaimService( IClaimRepository claimRepository, IUpdateAdressService updateAdressService, IUpdateClaimInsuredPersonService updateClaimInsuredPersonService, IUpdateClaimThirdInsuredPersonService updateClaimThirdInsuredPersonService, IUpdateClaimInsuredVehicleService updateClaimInsuredVehicleService, IUpdateClaimThirdInsuredVehicleService updateClaimThirdInsuredVehicleService, IChangeClaimStateService changeClaimStateService, IUpdateClaimOfferService updateClaimOfferService) { this.claimRepository = claimRepository; this.updateAdressService = updateAdressService; this.updateClaimInsuredPersonService = updateClaimInsuredPersonService; this.updateClaimThirdInsuredPersonService = updateClaimThirdInsuredPersonService; this.updateClaimInsuredVehicleService = updateClaimInsuredVehicleService; this.updateClaimThirdInsuredVehicleService = updateClaimThirdInsuredVehicleService; this.changeClaimStateService = changeClaimStateService; this.updateClaimOfferService = updateClaimOfferService; }
public ClaimService(IClaimRepository repository) { this.repository = repository; }
public GetClaimInteractor(IClaimRepository claimRepo) { _repo = claimRepo; }
public void Init() { var builder = new ContainerBuilder(); builder.RegisterModule(new Application.Composition.CoreModule()); builder.RegisterModule(new Application.Composition.MessagingModule()); builder.RegisterModule(new PersistenceModule() { UseFakeWorkspace = true, ConnectionStringOrName = Path.GetTempFileName() }); var container = builder.Build(); _claimRepository = container.Resolve<IClaimRepository>(); _unitUnderTest = container.Resolve<ICommandDispatcher>(); }
public claimsController(IClaimRepository repository, ILogger<claimsController> logger) { _claimRepository = repository; _logger = logger; }
public CreateClaimInteractor(IClaimRepository claimRepo) { _repo = claimRepo; }
public void Init() { //_ws = new FakeWorkspace(Path.GetTempFileName()); _ws = new EFWorkspace(new EFContext()); _unitUnderTest = new ClaimRepository(_ws, new ClaimFactory()); }
public ClaimService(IClaimRepository claimRepository) { _claimRepository = claimRepository; }
public vehiclesController(IClaimRepository repository, ILogger<vehiclesController> logger) { _claimRepository = repository; _logger = logger; }
public AdjudicationService(ISessionFactory sessionFactory, IClaimRepository claimRepository) { _sessionFactory = sessionFactory; _claimRepository = claimRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ClaimFactory" /> class. /// </summary> /// <param name="claimRepository"> The claim repository. </param> public ClaimFactory( IClaimRepository claimRepository) { _claimRepository = claimRepository; }
public ClaimReader(RoutingRelationService routingRelationService, IClaimRepository claimRepository) { _routingRelationService = routingRelationService; _claimRepository = claimRepository; }