Exemplo n.º 1
0
 public CatalogService(
     ServiceIndexCache serviceIndexCache,
     ILogger <CatalogService> logger)
 {
     _serviceIndexCache = serviceIndexCache ?? throw new ArgumentNullException(nameof(serviceIndexCache));
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public RegistrationConsistencyService(
     ServiceIndexCache serviceIndexCache,
     RegistrationClient client,
     string type,
     bool hasSemVer2)
 {
     _serviceIndexCache = serviceIndexCache;
     _client            = client;
     _type       = type;
     _hasSemVer2 = hasSemVer2;
 }
Exemplo n.º 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;
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 8
0
 public AutocompleteClient(ServiceIndexCache serviceIndexCache, HttpSource httpSource, ILogger <AutocompleteClient> logger)
 {
     _serviceIndexCache = serviceIndexCache;
     _httpSource        = httpSource;
     _logger            = logger;
 }