예제 #1
0
 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;
 }
예제 #2
0
 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));
 }