public LabeledEntityRepo(ILabeledServiceConnectionSettings connectionSettings, IoT.Logging.Loggers.IAdminLogger logger, ICacheProvider cacheProvider = null) : base(connectionSettings.LabelServicesConnection.Uri, connectionSettings.LabelServicesConnection.AccessKey, connectionSettings.LabelServicesConnection.ResourceName, logger, cacheProvider) { _shouldConsolidateCollections = connectionSettings.ShouldConsolidateCollections; }
public LabelRepo(ILabeledServiceConnectionSettings connectionSettings, IoT.Logging.Loggers.IAdminLogger logger, ICacheProvider cacheProvider = null) : base(connectionSettings.LabelServicesConnection.Uri, connectionSettings.LabelServicesConnection.AccessKey, connectionSettings.LabelServicesConnection.ResourceName, logger, cacheProvider) { _shouldConsolidateCollections = connectionSettings.ShouldConsolidateCollections; _cacheProvider = cacheProvider ?? throw new ArgumentNullException(nameof(cacheProvider)); }