Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public bool ContainsKey(object key)
 {
     return(FromRef.ContainsKey(key));
 }