public SignalRConfigProvider( INameResolver nameResolver, ILoggerFactory loggerFactory, IConfiguration configuration, IServiceManagerStore serviceManagerStore, ISecurityTokenValidator securityTokenValidator = null, ISignalRConnectionInfoConfigurer signalRConnectionInfoConfigurer = null) { this.logger = loggerFactory.CreateLogger(LogCategories.CreateTriggerCategory("SignalR")); this.nameResolver = nameResolver; this.serviceManagerStore = serviceManagerStore; this._dispatcher = new SignalRTriggerDispatcher(); inputBindingProvider = new InputBindingProvider(configuration, nameResolver, securityTokenValidator, signalRConnectionInfoConfigurer); }
public SignalRConfigProvider( IOptions <SignalROptions> options, INameResolver nameResolver, ILoggerFactory loggerFactory, IConfiguration configuration, ISecurityTokenValidator securityTokenValidator = null, ISignalRConnectionInfoConfigurer signalRConnectionInfoConfigurer = null) { this.options = options.Value; this.loggerFactory = loggerFactory; this.logger = loggerFactory.CreateLogger(LogCategories.CreateTriggerCategory("SignalR")); this.nameResolver = nameResolver; this.configuration = configuration; this._dispatcher = new SignalRTriggerDispatcher(); inputBindingProvider = new InputBindingProvider(configuration, nameResolver, securityTokenValidator, signalRConnectionInfoConfigurer); }