public int?GetBSetReferenceCount(BackupSetReference backupSet) { if (BSetReferenceCounts.TryGetValue(new BackupSetKey(backupSet.BackupSetName, backupSet.Shallow, backupSet.BlobListCache), out int refCount)) { return(refCount); } return(null); }
public void RemoveBSetReference(BackupSetReference backupSet) { BSetReferenceCounts.Remove(new BackupSetKey(backupSet.BackupSetName, backupSet.Shallow, backupSet.BlobListCache)); }