示例#1
0
 public void ActivateId(string id)
 {
     if (IdsInactive.Contains(id))
     {
         IdsInactive.Remove(id);
         IdsActive.Add(id);
     }
     else if (IdsDeletedInactive.Contains(id))
     {
         IdsDeletedInactive.Remove(id);
         IdsDeletedActive.Add(id);
     }
 }
示例#2
0
 public void DeleteId(string id)
 {
     IdsActive.Remove(id);
     IdsInactive.Remove(id);
     IdsDeletedInactive.Add(id);
 }