internal BlobStoreSynchronizer(TenantConfiguration config, ILogger logger, Boolean startFromBeginning)
 {
     _config = config;
     _logger = logger;
     if (startFromBeginning)
     {
         ClearSyncInfo();
     }
 }
예제 #2
0
        public BlobStoreSync(ILogger logger)
        {
            var tenants = ConfigurationManager.AppSettings["tenants"].Split(',', ';').Select(t => t.Trim()).ToList();

            foreach (string tenantId in tenants)
            {
                var config = new TenantConfiguration(tenantId, logger);
                _tenantsConfig.Add(config);
            }

            _logger = logger;
        }