コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the SourceLifeCycle class.
 /// </summary>
 public SourceLifeCycle(DeleteOption deleteAfter, DataStoreInfoBase sourceDataStore, IList <TargetCopySetting> targetDataStoreCopySettings = default(IList <TargetCopySetting>))
 {
     DeleteAfter                 = deleteAfter;
     SourceDataStore             = sourceDataStore;
     TargetDataStoreCopySettings = targetDataStoreCopySettings;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the AzureBackupRule class.
 /// </summary>
 public AzureBackupRule(string name, DataStoreInfoBase dataStore, TriggerContext trigger, BackupParameters backupParameters = default(BackupParameters))
     : base(name)
 {
     BackupParameters = backupParameters;
     DataStore        = dataStore;
     Trigger          = trigger;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the TargetCopySetting class.
 /// </summary>
 /// <param name="copyAfter">It can be CustomCopyOption or
 /// ImmediateCopyOption.</param>
 /// <param name="dataStore">Info of target datastore</param>
 public TargetCopySetting(CopyOption copyAfter, DataStoreInfoBase dataStore)
 {
     CopyAfter = copyAfter;
     DataStore = dataStore;
     CustomInit();
 }