public NotificationHub(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IPlatformResolver platformResolver) { _context = context; _userManager = userManager; _useragent = platformResolver.UserAgent; }
public NotificationHub( UserManager <IUser> userManager, IPlatformResolver platformResolver, ILogger <NotificationHub> logger) { _userManager = userManager; _useragent = platformResolver.UserAgent; _logger = logger; }
public Detection(IUserAgentService service, IDeviceResolver deviceResolver, IBrowserResolver browserResolver, IPlatformResolver platformResolver, IEngineResolver engineResolver, ICrawlerResolver crawlerResolver) { this._service = service; this._deviceResolver = deviceResolver; this._browserResolver = browserResolver; this._platformResolver = platformResolver; this._engineResolver = engineResolver; this._crawlerResolver = crawlerResolver; }
public HomeController( IDetectionService detectionService, IDeviceResolver deviceResolver, IBrowserResolver browserResolver, IEngineResolver engineResolver, IPlatformResolver platformResolver) { client = new ClientInfo { UserAgent = detectionService.UserAgent, Device = deviceResolver.Device, Browser = browserResolver.Browser, Engine = engineResolver.Engine, Platform = platformResolver.Platform }; }
public HomeController(IPlatformResolver platform) { _platform = platform; }