public HdfExplorerStateManager(IHubContext <Broadcaster> hubContext, IOptions <HdfExplorerOptions> options) { _hubContext = hubContext; _options = options.Value; _stateSet = new ConcurrentDictionary <string, HdfExplorerState>(); _ctsSet = new ConcurrentDictionary <string, CancellationTokenSource>(); this.HandleInactivity(); }
public Broadcaster(HdfExplorerStateManager stateManager, ILoggerFactory loggerFactory, IOptions <HdfExplorerOptions> options) { _stateManager = stateManager; _options = options.Value; _logger = loggerFactory.CreateLogger("HDF Explorer"); }
public FileModel(IOptions<HdfExplorerOptions> options) { _options = options.Value; }