コード例 #1
0
 public HomeController(IJobPostHandler jobpastHandler, IHomeHandler homeHandler, IEMailHandler mailhandler, IConfiguration configuration)
 {
     _jobpastHandler = jobpastHandler;
     _homeHandler    = homeHandler;
     _mailHandler    = mailhandler;
     _configuration  = configuration;
 }
コード例 #2
0
 public DashboardController(IManageUsersHandler _manageuserHandler, IDashboardHandler _dashboardHandler, IConfiguration _config, IEMailHandler _emailHandler)
 {
     manageuserHandler = _manageuserHandler;
     dashboardHandler  = _dashboardHandler;
     emailHandler      = _emailHandler;
     config            = _config;
 }
 public SearchResumeController(IEMailHandler _emailHandler, IConfiguration _config, IJobPostHandler _jobpastHandler, IHomeHandler _homeHandler, ISearchResumeHandler _searchResumeHandler)
 {
     jobpastHandler      = _jobpastHandler;
     homeHandler         = _homeHandler;
     searchresumehandler = _searchResumeHandler;
     emailHandler        = _emailHandler;
     config = _config;
 }
コード例 #4
0
 public AuthController(IEMailHandler _emailHandler, IConfiguration _config, IAuthHandler _authHandler,
                       IHostingEnvironment _hostingEnvironment, IUserProfileHandler _userProfileHandler)
 {
     authHandler        = _authHandler;
     hostingEnviroment  = _hostingEnvironment;
     emailHandler       = _emailHandler;
     userProfileHandler = _userProfileHandler;
     config             = _config;
     URLprotocol        = config["URLprotocol"];
 }
コード例 #5
0
        public BulkJobSeekerUploadHandler(IHostingEnvironment env, IConfiguration configuration, IEMailHandler _emailHandler, IHttpContextAccessor httpContextAccessor)
        {
            environment = env;
            var authFactory = new ProcessorFactoryResolver <IAuthRepository>(configuration);

            authProcessor        = authFactory.CreateProcessor();
            emailHandler         = _emailHandler;
            config               = configuration;
            _httpContextAccessor = httpContextAccessor;
            URLprotocol          = configuration["URLprotocol"];
        }
コード例 #6
0
        public DashboardHandler(IConfiguration configuration, IEMailHandler _emailHandler, IHostingEnvironment env)
        {
            var factory = new ProcessorFactoryResolver <IDashboardRepository>(configuration);

            dashboardRepository = factory.CreateProcessor();
            var mfactory = new ProcessorFactoryResolver <IMasterDataRepository>(configuration);

            masterDataRepository = mfactory.CreateProcessor();
            emailHandler         = _emailHandler;
            environment          = env;
        }
コード例 #7
0
        public AuthHandler(IEMailHandler _emailHandler, IConfiguration configuration, IHostingEnvironment _hostingEnvironment,
                           IHttpContextAccessor httpContextAccessor, IHttpClientFactory httpClientFactory)
        {
            var factory = new ProcessorFactoryResolver <IAuthRepository>(configuration);

            _authProcessor       = factory.CreateProcessor();
            _configuration       = configuration;
            emailHandler         = _emailHandler;
            _httpContextAccessor = httpContextAccessor;
            hostingEnviroment    = _hostingEnvironment;
            _httpClientFactory   = httpClientFactory;
        }
コード例 #8
0
        public ManageUserHandler(IConfiguration configuration, IEMailHandler _emailHandler, IHttpContextAccessor httpContextAccessor)
        {
            var factory = new ProcessorFactoryResolver <IManageUserRepository>(configuration);

            _userProcessor = factory.CreateProcessor();
            var mFactory = new ProcessorFactoryResolver <IMasterDataRepository>(configuration);

            masterRepo           = mFactory.CreateProcessor();
            emailHandler         = _emailHandler;
            config               = configuration;
            _httpContextAccessor = httpContextAccessor;
            URLprotocol          = configuration["URLprotocol"];
        }
コード例 #9
0
        public UserProfileHandler(IConfiguration configuration, IHostingEnvironment hostingEnvironment, IEMailHandler _emailHandler, IHttpContextAccessor httpContextAccessor)
        {
            var factory = new ProcessorFactoryResolver <IUserProfileRepository>(configuration);

            _userProfileRepository = factory.CreateProcessor();
            _hostingEnviroment     = hostingEnvironment;
            emailHandler           = _emailHandler;
            _configuration         = configuration;
            var masterfactory = new ProcessorFactoryResolver <IMasterDataRepository>(configuration);

            _masterRepository    = masterfactory.CreateProcessor();
            _httpContextAccessor = httpContextAccessor;
            URLprotocol          = configuration["URLprotocol"];
        }
コード例 #10
0
        public BulkJobPostHandler(IHostingEnvironment env, IConfiguration configuration, IEMailHandler _emailHandler)
        {
            environment  = env;
            emailHandler = _emailHandler;
            var authFactory = new ProcessorFactoryResolver <IAuthRepository>(configuration);

            authProcessor = authFactory.CreateProcessor();
            var bjpFactory = new ProcessorFactoryResolver <IBulkJobPostRepository>(configuration);

            bjpProcessor = bjpFactory.CreateProcessor();
            var jpFactory = new ProcessorFactoryResolver <IJobPostRepository>(configuration);

            jobPostProcessor = jpFactory.CreateProcessor();
        }