예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <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));
 }