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