Exemple #1
0
 public CreateIndividual(
     IIndividualRepository individualRepository,
     IIndividualFactory individualFactory)
 {
     _individualRepository = individualRepository;
     _individualFactory    = individualFactory;
 }
Exemple #2
0
 public ScheduleParamsHandler(string json, ScheduleEntryType entryType, IIndividualRepository individualRepository=null, IAssociateRepository associateRepository=null)
 {
     this._jsonVal = json;
     this._entryType = entryType;
     this._individualRepository = individualRepository;
     this._associateRepository = associateRepository;
 }
 public AuthenticationHelper(IConfiguration configuration, IBusinessRepository businessRepository, IIndividualRepository individualRepository, IStationRepository stationRepository)
 {
     BusinessRepository   = businessRepository;
     IndividualRepository = individualRepository;
     StationRepository    = stationRepository;
     Configuration        = configuration;
 }
 public DeleteIndividual(
     IConsoleWriter consoleWriter,
     IIndividualRepository individualRepository)
 {
     _consoleWriter        = consoleWriter;
     _individualRepository = individualRepository;
 }
 public ScheduleParamsHandler(string json, ScheduleEntryType entryType, IIndividualRepository individualRepository = null, IAssociateRepository associateRepository = null)
 {
     this._jsonVal              = json;
     this._entryType            = entryType;
     this._individualRepository = individualRepository;
     this._associateRepository  = associateRepository;
 }
 public LoadAllIndividuals(
     IConsoleWriter consoleWriter,
     IIndividualRepository individualRepository)
 {
     _consoleWriter        = consoleWriter;
     _individualRepository = individualRepository;
 }
Exemple #7
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository, IAssociateRepository associateReposiory, IScheduleParamsHandler scheduleParamsHandler)
 {
     _jsonVal               = jsonVal;
     _entryType             = entryType;
     _scheduleParamsHandler = scheduleParamsHandler;
     _individualRepository  = individualRepository;
     _associateRepository   = associateReposiory;
 }
Exemple #8
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository = null, IAssociateRepository associateRepository = null)
 {
     _jsonVal = jsonVal;
     _individualRepository  = individualRepository;
     _associateRepository   = associateRepository;
     _entryType             = entryType;
     _scheduleParamsHandler = new ScheduleParamsHandler(_jsonVal, entryType, individualRepository, associateRepository);
 }
Exemple #9
0
 public ScheduleActionHandler(string jsonVal,ScheduleEntryType entryType, IIndividualRepository individualRepository, IAssociateRepository associateReposiory, IScheduleParamsHandler scheduleParamsHandler)
 {
     _jsonVal = jsonVal;
     _entryType = entryType;
     _scheduleParamsHandler = scheduleParamsHandler;
     _individualRepository = individualRepository;
     _associateRepository = associateReposiory;
 }
Exemple #10
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository=null, IAssociateRepository associateRepository=null)
 {
     _jsonVal = jsonVal;
     _individualRepository = individualRepository;
     _associateRepository = associateRepository;
     _entryType = entryType;
     _scheduleParamsHandler = new ScheduleParamsHandler(_jsonVal,entryType, individualRepository, associateRepository);
 }
 public IndividualController(IIndividualRepository individualRepository, IMapper mapper, LinkGenerator linkGenerator, IAuthenticationHelper authenticationHelper, IStationRepository stationRepository)
 {
     IndividualRepository = individualRepository;
     Mapper               = mapper;
     LinkGenerator        = linkGenerator;
     AuthenticationHelper = authenticationHelper;
     StationRepository    = stationRepository;
 }
 public CreateIndividual(
     IConsoleWriter consoleWriter,
     IIndividualRepository individualRepo,
     IIndividualFactory individualFactory)
 {
     _consoleWriter     = consoleWriter;
     _individualRepo    = individualRepo;
     _individualFactory = individualFactory;
 }
Exemple #13
0
 public IndividualDetailsViewService(
     IViewModelFactory viewModelFactory,
     IIndividualFactory individualFactory,
     IIndividualRepository individualRepository)
 {
     _viewModelFactory     = viewModelFactory;
     _individualFactory    = individualFactory;
     _individualRepository = individualRepository;
 }
 public IndividualAppService(
     IIndividualRepository individualRepository,
     IIndividualFactory individualFactory,
     IMapper mapper)
 {
     _individualRepository = individualRepository;
     _individualFactory    = individualFactory;
     _mapper = mapper;
 }
Exemple #15
0
        public static cIndividualController GetController(IIndividualRepository repository)
        {
            cIndividualController controller = new cIndividualController(repository);

            controller.ControllerContext = new ControllerContext()
            {
                Controller     = controller,
                RequestContext = new RequestContext(new MockHttpContext(), new RouteData())
            };
            return(controller);
        }
Exemple #16
0
 public AddAddress(IIndividualRepository individualRepository)
 {
     _individualRepository = individualRepository;
 }
 public UpdateIndividual(IIndividualRepository individualRepository)
 {
     _individualRepository = individualRepository;
 }
 public IndividualOverviewViewService(
     IIndividualRepository individualRepository)
 {
     _individualRepository = individualRepository;
 }
 public IndividualController(IIndividualRepository individualRepository,
                             ISubjectRoleRepository subjectRoleRepository)
 {
     _individualRepository  = individualRepository ?? throw new ArgumentNullException(nameof(individualRepository));
     _subjectRoleRepository = subjectRoleRepository ?? throw new ArgumentNullException(nameof(subjectRoleRepository));
 }
Exemple #20
0
 public MetaController(IOrganisationRepository organisationRepo, IIndividualRepository individualRepo)
 {
     _organisationRepo = organisationRepo;
     _individualRepo   = individualRepo;
 }
Exemple #21
0
 public RemoveAddress(IIndividualRepository individualRepository)
 {
     _individualRepository = individualRepository;
 }
 public UpdateStreet(IIndividualRepository individualRepository, IIndividualFactory individualFactory)
 {
     _individualRepository = individualRepository;
     _individualFactory    = individualFactory;
 }
 public UpdateAddress(IIndividualRepository individualRepository)
 {
     _individualRepository = individualRepository;
 }
Exemple #24
0
 public TreeService(IIndividualRepository individualRepository, IFamilyRepository familyRepository)
 {
     this.individualRepository = individualRepository;
     this.familyRepository     = familyRepository;
 }
Exemple #25
0
        static DalFactory()
        {
            //Define Ninject Dependency Injection Bindings
            Kernel.Bind <IGeneralCodeRepository>().To <GeneralCodeRepository>();
            Kernel.Bind <ISubCodeRepository>().To <SubCodeRepository>();
            Kernel.Bind <IOpportunityRepository>().To <OpportunityRepository>();
            Kernel.Bind <IindividualDetailsRepository>().To <IndividualDetailsRepository>();
            Kernel.Bind <IEventRepository>().To <EventRepository>();
            Kernel.Bind <IJobRepository>().To <JobRepository>();
            Kernel.Bind <ITrainingRepository>().To <TrainingRepository>();
            Kernel.Bind <IDataServiceRepository>().To <DataServiceRepository>();
            Kernel.Bind <IOrganizationContactInfoRepository>().To <OrganizationContactInfoRepository>();
            Kernel.Bind <IOrganizationRepository>().To <OrganizationRepository>();
            Kernel.Bind <IRequestLogRepository>().To <RequestLogRepository>();
            Kernel.Bind <IPortalUsersRepository>().To <PortalUsersRepository>();
            Kernel.Bind <INewsRepository>().To <NewsRepository>();
            Kernel.Bind <IConfigCenterRepository>().To <ConfigCenterRepository>();
            Kernel.Bind <IIndividualRepository>().To <IndividualRepository>();
            Kernel.Bind <IIndRepository>().To <IndRepository>();
            Kernel.Bind <IOrgRepository>().To <OrgRepository>();
            Kernel.Bind <IChatLogRepository>().To <ChatLogRepository>();
            Kernel.Bind <IConceptNonFormalTrainingRepository>().To <ConceptNonFormalTrainingRepository>();
            Kernel.Bind <ILmisReportsRepository>().To <LmisReportsRepository>();
            Kernel.Bind <IObsceneWordsRepository>().To <ObsceneWordsRepository>();
            Kernel.Bind <IListOfEmailsRepository>().To <ListOfEmailsRepository>();
            Kernel.Bind <IHelpfulLinkRepository>().To <HelpfulLinkRepository>();
            Kernel.Bind <IQualificationsRepository>().To <QualificationsRepository>();
            Kernel.Bind <IOfficeRepository>().To <OfficeRepository>();
            Kernel.Bind <IUnionRepository>().To <UnionRepository>();
            Kernel.Bind <IFaqRepository>().To <FaqRepository>();
            Kernel.Bind <IConceptsDefinitionsRepository>().To <ConceptsDefinitionsRepository>();
            Kernel.Bind <IEmployersTrainingProvidersRepository>().To <EmployersTrainingProvidersRepository>();
            Kernel.Bind <IRecruitmentAgenciesRepository>().To <RecruitmentAgenciesRepository>();

            //Serve BLL Objects as Singletons
            GeneralCodeRepo       = Kernel.Get <IGeneralCodeRepository>();
            SubCodeRepo           = Kernel.Get <ISubCodeRepository>();
            OpportunityRepo       = Kernel.Get <IOpportunityRepository>();
            IndividualDetailsRepo = Kernel.Get <IindividualDetailsRepository>();
            EventRepo             = Kernel.Get <IEventRepository>();
            JobRepo                        = Kernel.Get <IJobRepository>();
            TrainingRepo                   = Kernel.Get <ITrainingRepository>();
            DataServiceRepo                = Kernel.Get <IDataServiceRepository>();
            OrganizationContactInfoRepo    = Kernel.Get <IOrganizationContactInfoRepository>();
            OrganizationRepo               = Kernel.Get <IOrganizationRepository>();
            RequestLogRepo                 = Kernel.Get <IRequestLogRepository>();
            PortalUsersRepo                = Kernel.Get <IPortalUsersRepository>();
            NewsRepo                       = Kernel.Get <INewsRepository>();
            IndividualRepo                 = Kernel.Get <IIndividualRepository>();
            ConfigRepo                     = Kernel.Get <IConfigCenterRepository>();
            IndividualRepo                 = Kernel.Get <IIndividualRepository>();
            IndRepo                        = Kernel.Get <IIndRepository>();
            OrgRepo                        = Kernel.Get <IOrgRepository>();
            ChatLogRepo                    = Kernel.Get <IChatLogRepository>();
            ConceptNonFormalTrainingRepo   = Kernel.Get <IConceptNonFormalTrainingRepository>();
            LmisReportsRepo                = Kernel.Get <ILmisReportsRepository>();
            ObsceneWordsRepo               = Kernel.Get <IObsceneWordsRepository>();
            ListOfEmailsRepo               = Kernel.Get <IListOfEmailsRepository>();
            HelpfulLinkRepo                = Kernel.Get <IHelpfulLinkRepository>();
            QualificationsRepo             = Kernel.Get <IQualificationsRepository>();
            OfficeRepo                     = Kernel.Get <IOfficeRepository>();
            UnionRepo                      = Kernel.Get <IUnionRepository>();
            FaqRepo                        = Kernel.Get <IFaqRepository>();
            ConceptsDefinitionsRepo        = Kernel.Get <IConceptsDefinitionsRepository>();
            EmployersTrainingProvidersRepo = Kernel.Get <IEmployersTrainingProvidersRepository>();
            RecruitmentAgenciesRepo        = Kernel.Get <IRecruitmentAgenciesRepository>();
        }
Exemple #26
0
 public IndividualService(IIndividualRepository IIndividualRepository)
 {
     this._IIndividualRepository = IIndividualRepository;
 }
 public RemoveIndividual(IIndividualRepository individualRepository, IIndividualFactory individualFactory)
 {
     _individualRepository = individualRepository;
     _individualFactory    = individualFactory;
 }
Exemple #28
0
 public FamilyRepository(MySqlDbOptions options, IIndividualRepository individualRepository)
 {
     this.connStr = options?.ConnectionString ?? throw new ArgumentException("No connection string configured", nameof(options));
     this.individualRepository = individualRepository;
 }
Exemple #29
0
 public cIndividualController(IIndividualRepository repository)
 {
     _repository = repository;
 }
Exemple #30
0
 public IndividualService(IIndividualRepository repository)
 {
     _repository = repository;
 }
Exemple #31
0
 protected override void OnAligned()
 {
     _sut = ServiceLocator.GetService <IIndividualRepository>();
 }
Exemple #32
0
 public IndividualDtoDataService(IIndividualRepository repository, IDtoAdapter <IndividualDto, Individual, long?> dtoAdapter) : base(repository, dtoAdapter)
 {
     _repository = repository;
     _dtoAdapter = dtoAdapter;
 }
 public FamilyRepository(FamilyTreeContext context, IIndividualRepository individualRepository)
 {
     this.context = context;
     this.individualRepository = individualRepository;
 }