public ServiceClient( ServiceClientListener serviceClientListener, ICacheNotify <MigrationCache> cacheMigrationNotify, ICacheNotify <MigrationUploadCdn> uploadCdnMigrationNotify, IServiceProvider serviceProvider) { ServiceClientListener = serviceClientListener; CacheMigrationNotify = cacheMigrationNotify; UploadCdnMigrationNotify = uploadCdnMigrationNotify; ServiceProvider = serviceProvider; }
public double GetProgress(int tenant) { var migrationProgress = ServiceClientListener.GetProgress(tenant); return(migrationProgress.Progress); }