public bool Equals(InterfaceObject aOther) { var collectionComparer = new DictionaryComparer <int, BasicObject>(); bool dictionaryIsEqual = collectionComparer.Equals(DictionaryValue, aOther.DictionaryValue); return(dictionaryIsEqual && BoolValue == aOther.BoolValue && IntValue == aOther.IntValue); }
public bool Equals(DictionaryObject aOther) { var dictionaryComparer = new DictionaryComparer <int, BasicObject>(); return(dictionaryComparer.Equals(Collection, aOther.Collection)); }