public override bool Equals(object obj) { KeyStruct other = (KeyStruct)obj; for (int i = 0; i < this.keys.Length; i++) { if (this.keys[i] != other.keys[i]) { return(false); } } return(true); }
private object GetValue(object[] keys) { KeyStruct key = new KeyStruct(keys); return baseLookup[key]; }
public void Add(object value, object[] keys) { KeyStruct key = new KeyStruct(keys); baseLookup[key] = value; }
private object GetValue(object[] keys) { KeyStruct key = new KeyStruct(keys); return(baseLookup[key]); }