public LinksController(UserManager <IdentityUser> userManager, ApplicationDbContext context, IDetection detection) { _userManager = userManager; _context = context; _detection = detection; }
public HomeController(IBOUsers IBOUsers, IHostingEnvironment HostEnvironment, IDetection detection, IActionContextAccessor accessor, ILogger <HomeController> logger) { _IBOUsers = IBOUsers; _HostEnvironment = HostEnvironment; _detection = detection; _accessor = accessor; _logger = logger; }
//private readonly CloudBlobClient _blobClient; //public AccountService(IConfiguration configuration, IUnitOfWork uow, IStringLocalizer<IAccountService> localizer, IDetection detection, CloudBlobClient blobClient) public AccountService(IConfiguration configuration, IUnitOfWork uow, IStringLocalizer <IAccountService> localizer, IDetection detection) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _uow = uow ?? throw new ArgumentNullException(nameof(uow)); _localizer = localizer ?? throw new ArgumentNullException(nameof(localizer)); _detection = detection ?? throw new ArgumentNullException(nameof(detection)); //_blobClient = blobClient ?? throw new ArgumentNullException(nameof(blobClient)); }
/// <summary> /// Constructor /// </summary> /// <param name="context"></param> /// <param name="detection"></param> /// <param name="userManager"></param> /// <param name="urlHelper"></param> /// <param name="mapper"></param> /// <param name="accessor"></param> public UserActivityService(IActivityContext context, IDetection detection, IUserManager <GearUser> userManager, IUrlHelper urlHelper, IMapper mapper, IHttpContextAccessor accessor) { _context = context; _detection = detection; _userManager = userManager; _urlHelper = urlHelper; _mapper = mapper; _accessor = accessor; }
public AccountService(IConfiguration configuration, IUnitOfWork uow, IDetection detection, IFileService fileService, ISubscriptionService subscriptionService, IProfileHelthHelper profileHelthHelper) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _uow = uow ?? throw new ArgumentNullException(nameof(uow)); _detection = detection ?? throw new ArgumentNullException(nameof(detection)); _fileService = fileService ?? throw new ArgumentNullException(nameof(fileService)); _subscriptionService = subscriptionService ?? throw new ArgumentNullException(nameof(subscriptionService)); _profileHelthHelper = profileHelthHelper ?? throw new ArgumentNullException(nameof(profileHelthHelper)); }
public BaseController(UserManager <OrgUser> userManager, SignInManager <OrgUser> signInManager, IConfiguration config, IHostingEnvironment hostingEnvironment, IResources resource, IApppSettings appSettings, IDataProvider dataProvider, IDetection detection) { _dataProvider = dataProvider; _userManager = userManager; _signInManager = signInManager; _configuration = config; _hostingEnvironment = hostingEnvironment; _resources = resource; _appSettings = appSettings; _detection = detection; }
public SubscriptorsController(ApplicationDbContext context, IDetection detection, IPushNotificationService notificationService, ITagService tagService, IDeviceService deviceService) { _context = context; _notificationService = notificationService; _detection = detection; _deviceService = deviceService; _tagService = tagService; }
public HomeController( ILogger <HomeController> logger, IUnitOfWork unitofwork, IMapper map, IDetection detection, IService service) { _logger = logger; _unitofwork = unitofwork; _map = map; _detection = detection; _service = service; }
public MessagesController(IHostingEnvironment hostingEnvironment, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, ILogger <MessagesController> logger, ApplicationDbContext context, IDetection detection) { _context = context; _hostingEnvironment = hostingEnvironment; _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _logger = logger; _detection = detection; }
public LoginModel( IDetection detection, IIdentityServerInteractionService interaction, SignInManager <ApplicationUser> signInManager, IMultiFactorUserStore <ApplicationUser, ApplicationFactor> multiFactorUserStore, ILogger <LoginModel> logger) { Detection = detection; _multiFactorUserStore = multiFactorUserStore; _interaction = interaction; _signInManager = signInManager; _logger = logger; }
public BenchmarksController( [NotNull] SqlServerBenchmarkRepository benchmarkRepository, [NotNull] UserManager <ApplicationUser> userManager, [NotNull] IOptions <ResultsConfig> resultsConfig, [NotNull] ILoggerFactory loggerFactory, [NotNull] SqlServerResultsRepository publishResultRepository, IDetection detection) { this.m_benchmarkRepository = benchmarkRepository; this.m_userManager = userManager; this.m_resultsConfig = resultsConfig; this.m_logger = loggerFactory.CreateLogger <BenchmarksController>(); this.m_publishResultRepository = publishResultRepository; this.detection = detection; }
public async Task InvokeAsync(HttpContext context, IDetection detection) { if (!context.Request.Path.StartsWithSegments("/api")) { if (!CompatibleBrowsers.Contains(detection.Browser.Type.ToString())) { context.Response.Redirect("/InCompatibleBrowser.html"); } else { await this._next.Invoke(context); } } else { await this._next.Invoke(context); } }
public QualificationController(IDetection d, IWebHostEnvironment env) { detection = d; _env = env; }
public SpecializationDetection(IDetection detection, CoreSpecialization specialization) { Detection = detection; Specialization = specialization; }
public UserController(IDetection detection, IHttpContextAccessor contextAccessor) { this.detection = detection; this.contextAccessor = contextAccessor; }
public BrowserInformationController(IBrowserInformationFacade facade, IDetection detection) { this._facade = facade; this._detection = detection; }
public HomeController(IDetection detection) { _detection = detection; }
public GrantController(IGrantService serv, IDetection detection) { _device = detection.Device; _service = serv; }
public DbBlog(DbContextOptions <DbBlog> options, IHttpContextAccessor context, IDetection detection) : base(options) { _context = context; _detection = detection; }
public HomeController(UserManager <OrgUser> userManager, SignInManager <OrgUser> signInManager, IConfiguration config, HostingEnvironment hostingEnvironment, IResources resources, IApppSettings appSettings, IDataProvider dataProvider, IDetection detection, IAppMailer appMailer) : base(userManager, signInManager, config, hostingEnvironment, resources, appSettings, dataProvider, detection, appMailer) { }
public SocialController(IDetection d) { detection = d; }
public HttpDeviceProfiler(ICryptoService crypto, IDetection detection) { this.crypto = crypto; this.detection = detection; }
public SkillDetection(IDetection detection, int skillId, SkillSlot slot) { Detection = detection; SkillId = skillId; Slot = slot; }
public DetectionController(IDetection detection) { this.detection = detection; }
public HomeController(IDetection d) { detection = d; }