public RegisterViewProvider( IReCaptchaService recaptchaService, IHttpContextAccessor httpContextAccessor, IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore) { _recaptchaService = recaptchaService; _request = httpContextAccessor.HttpContext.Request; _recaptchaSettingsStore = recaptchaSettingsStore; }
public AdminController( IHtmlLocalizer <AdminController> htmlLocalizer, IStringLocalizer <AdminController> stringLocalizer, IAuthorizationService authorizationService, IAlerter alerter, IBreadCrumbManager breadCrumbManager, IViewProviderManager <ReCaptchaSettings> viewProvider, IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore) { _authorizationService = authorizationService; _alerter = alerter; _breadCrumbManager = breadCrumbManager; _viewProvider = viewProvider; _recaptchaSettingsStore = recaptchaSettingsStore; T = htmlLocalizer; S = stringLocalizer; }
public AdminViewProvider( IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore) { _recaptchaSettingsStore = recaptchaSettingsStore; }
public ReCaptchaService(IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore) { _recaptchaSettingsStore = recaptchaSettingsStore; }