/// <summary> /// Returns true if the two given edges are equals as far as this vehicle is concerned. /// </summary> public virtual bool Equals(IAttributeCollection attributes1, IAttributeCollection attributes2) { return(attributes1.ContainsSame(attributes2)); }
/// <summary> /// Returns true if the two edges with the given attributes are identical as far as this profile is concerned. /// </summary> /// <remarks> /// Default implementation compares attributes one-by-one. /// </remarks> public override sealed bool Equals(IAttributeCollection attributes1, IAttributeCollection attributes2) { return(attributes1.ContainsSame(attributes2)); }