/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { if (!(obj is HvoFlidKey)) { return(false); } HvoFlidKey hfk = (HvoFlidKey)obj; return((hfk.m_hvo == m_hvo) && (hfk.m_flid == m_flid)); }
public override void SetObjProp(int hvo, int tag, int hvoObj) { switch (tag) { default: base.SetObjProp(hvo, tag, hvoObj); break; case ktagMostApprovedAnalysis: var key = new HvoFlidKey(hvo, tag); if (hvoObj == 0) { m_guessCache.Remove(key); } else { m_guessCache[key] = hvoObj; } break; } }
public override void SetObjProp(int hvo, int tag, int hvoObj) { switch (tag) { default: base.SetObjProp(hvo, tag, hvoObj); break; case ktagMostApprovedAnalysis: var key = new HvoFlidKey(hvo, tag); if (hvoObj == 0) m_guessCache.Remove(key); else m_guessCache[key] = hvoObj; break; } }