コード例 #1
0
 public int?GetBSetReferenceCount(BackupSetReference backupSet)
 {
     if (BSetReferenceCounts.TryGetValue(new BackupSetKey(backupSet.BackupSetName, backupSet.Shallow, backupSet.BlobListCache), out int refCount))
     {
         return(refCount);
     }
     return(null);
 }
コード例 #2
0
 public void RemoveBSetReference(BackupSetReference backupSet)
 {
     BSetReferenceCounts.Remove(new BackupSetKey(backupSet.BackupSetName, backupSet.Shallow, backupSet.BlobListCache));
 }