Пример #1
0
 public bool Remove(KeyValuePair <object, Artefact> item)
 {
     if (FromRef.ContainsKey(item.Key))
     {
         Artefact artefact = FromRef[item.Key];
         FromRef.Remove(item.Key);
         FromId.Remove(artefact.Id);
         return(true);
     }
     return(false);
 }
Пример #2
0
 public bool Remove(object key)
 {
     if (FromRef.ContainsKey(key))
     {
         Artefact artefact = FromRef[key];
         FromRef.Remove(key);
         FromId.Remove(artefact.Id);
         return(true);
     }
     return(false);
 }