public CatalogService(
     ServiceIndexCache serviceIndexCache,
     ILogger <CatalogService> logger)
 {
     _serviceIndexCache = serviceIndexCache ?? throw new ArgumentNullException(nameof(serviceIndexCache));
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Beispiel #2
0
 public SearchServiceUrlDiscoverer(
     ServiceIndexCache serviceIndexCache,
     SearchServiceUrlCache urlCache,
     IPortDiscoverer portDiscoverer)
 {
     _serviceIndexCache = serviceIndexCache;
     _urlCache          = urlCache;
     _portDiscoverer    = portDiscoverer;
 }
 public FlatContainerConsistencyService(
     ServiceIndexCache serviceIndexCache,
     PackagesContainerClient packagesContainer,
     FlatContainerClient flatContainer)
 {
     _serviceIndexCache = serviceIndexCache;
     _packagesContainer = packagesContainer;
     _flatContainer     = flatContainer;
 }
Beispiel #4
0
 public RegistrationConsistencyService(
     ServiceIndexCache serviceIndexCache,
     RegistrationClient client,
     string type,
     bool hasSemVer2)
 {
     _serviceIndexCache = serviceIndexCache;
     _client            = client;
     _type       = type;
     _hasSemVer2 = hasSemVer2;
 }
Beispiel #5
0
 public NuspecStore(
     IFileStorageService fileStorageService,
     ServiceIndexCache serviceIndexCache,
     FlatContainerClient flatContainerClient,
     HttpSource httpSource,
     ILogger <NuspecStore> logger)
 {
     _fileStorageService  = fileStorageService;
     _serviceIndexCache   = serviceIndexCache;
     _flatContainerClient = flatContainerClient;
     _httpSource          = httpSource;
     _logger = logger;
 }
 public RemoteCursorService(
     ServiceIndexCache serviceIndexCache,
     HttpSource httpSource,
     SearchServiceCursorReader searchServiceCursorReader,
     CursorService cursorService,
     ILogger <RemoteCursorService> logger)
 {
     _serviceIndexCache         = serviceIndexCache;
     _httpSource                = httpSource;
     _searchServiceCursorReader = searchServiceCursorReader;
     _cursorService             = cursorService;
     _logger = logger;
 }
 public MZipStore(
     IFileStorageService fileStorageService,
     ServiceIndexCache serviceIndexCache,
     FlatContainerClient flatContainerClient,
     HttpZipProvider httpZipProvider,
     MZipFormat mZipFormat,
     ILogger <MZipStore> logger)
 {
     _fileStorageService  = fileStorageService;
     _serviceIndexCache   = serviceIndexCache;
     _flatContainerClient = flatContainerClient;
     _httpZipProvider     = httpZipProvider;
     _mZipFormat          = mZipFormat;
     _logger = logger;
 }
Beispiel #8
0
 public AutocompleteClient(ServiceIndexCache serviceIndexCache, HttpSource httpSource, ILogger <AutocompleteClient> logger)
 {
     _serviceIndexCache = serviceIndexCache;
     _httpSource        = httpSource;
     _logger            = logger;
 }