Пример #1
0
 public ServiceClient(
     ServiceClientListener serviceClientListener,
     ICacheNotify <MigrationCache> cacheMigrationNotify,
     ICacheNotify <MigrationUploadCdn> uploadCdnMigrationNotify,
     IServiceProvider serviceProvider)
 {
     ServiceClientListener    = serviceClientListener;
     CacheMigrationNotify     = cacheMigrationNotify;
     UploadCdnMigrationNotify = uploadCdnMigrationNotify;
     ServiceProvider          = serviceProvider;
 }
Пример #2
0
        public double GetProgress(int tenant)
        {
            var migrationProgress = ServiceClientListener.GetProgress(tenant);

            return(migrationProgress.Progress);
        }