예제 #1
0
 public PythonHostedPackagesController(FeaturedServices <Features.Pypi> pypiServices,
                                       ILogger <PythonHostedPackagesController> logger, IMemoryCache memoryCache)
 {
     this._pypiServices = pypiServices;
     this._logger       = logger;
     this._memoryCache  = memoryCache;
 }
 public NpmJsController(FeaturedServices <NpmJs> npmJsServices,
                        ILogger <NpmJsController> logger)
 {
     this._logger          = logger;
     this._npmJsServices   = npmJsServices;
     this._npmJsHttpClient = npmJsServices.Feature.PackageIndexRequestBuilder.HttpClient;
 }
예제 #3
0
 public SimpleController(FeaturedServices <Features.Pypi> pypiServices,
                         ILogger <SimpleController> logger, IMemoryCache memoryCache)
 {
     this._pypiServices = pypiServices;
     this._logger       = logger;
     this._memoryCache  = memoryCache;
 }