public EbayHub(HttpContext context, WebSocket webSocket, IEbayService ebayService, IOptions <EnvorinmentOptions> options) : base(context, webSocket) { _ebayService = ebayService; configuration = options.Value; }
public FileStorage(EnvorinmentOptions envorinmentOptions) { _envorinmentOptions = envorinmentOptions; }
public CachedEbayService(IOptions <EbayServiceOptions> ebayOptions, IOptions <EnvorinmentOptions> envOptions, IMemoryCache memoryCache, ILogger <InternetEbayService> logger) : base(ebayOptions, logger) { _memoryCache = memoryCache; _envOptions = envOptions.Value; }