public RepositoryContainer(ICosmosWatcherOption watcherOption, CosmosClient cosmosClient, ILoggerFactory loggerFactory, ILogger <RepositoryContainer> logger) { watcherOption.VerifyNotNull(nameof(watcherOption)).Verify(); cosmosClient.VerifyNotNull(nameof(cosmosClient)); loggerFactory.VerifyNotNull(nameof(loggerFactory)); logger.VerifyNotNull(nameof(logger)); _watcherOption = watcherOption; _cosmosClient = cosmosClient; _loggerFactory = loggerFactory; _logger = logger; }
public StoreContainer(ICosmosPathFinderOption storeOption, CosmosClient cosmosClient, ILoggerFactory loggerFactory, ILogger <StoreContainer> logger) { storeOption.VerifyNotNull(nameof(storeOption)).Verify(); cosmosClient.VerifyNotNull(nameof(cosmosClient)); loggerFactory.VerifyNotNull(nameof(loggerFactory)); logger.VerifyNotNull(nameof(logger)); _storeOption = storeOption; _cosmosClient = cosmosClient; _loggerFactory = loggerFactory; _logger = logger; }