public bool add(AsnPathAlias a) { if (dictionary_.ContainsKey(a.Name)) { dictionary_.Remove(a.Name); } dictionary_.Add(a.Name, a); return(true); }
public bool find(string path, out AsnPathAlias res) { res = null; foreach (var item in dictionary_) { if (item.Value.checkMatch(path)) { res = item.Value; return(true); } } return(false); }
public void del(AsnPathAlias @alias) { dictionary_.Remove(alias.Name); }