Exemple #1
0
 static async Task StartBackupReplica(BackupChainInfo backupInfo)
 {
     var webHost = new BackupWebHost(backupInfo);
     await webHost.Run();
 }
Exemple #2
0
 /// <summary>
 /// Constructor of BackupWebHost
 /// </summary>
 /// <param name="backupChainInfo">BackupChainInfo for which to run web host</param>
 public BackupWebHost(BackupChainInfo backupChainInfo)
 {
     this.backupChainInfo = backupChainInfo;
 }