public override bool Equals(object obj) { if (!(obj is StandardFilterKey)) { return(false); } StandardFilterKey that = (StandardFilterKey)obj; int size = parameters.Count; if (size != that.parameters.Count) { return(false); } for (int index = 0; index < size; index++) { object paramThis = parameters[index]; object paramThat = that.parameters[index]; if (!object.Equals(paramThis, paramThat)) { return(false); } } return(true); }
public FilterKey GetKey() { StandardFilterKey key = new StandardFilterKey(); key.AddParameter(login); return key; }