Esempio n. 1
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="b"></param>
 /// <returns></returns>
 public bool Equals(AttachedPart b)
 {
     if (variableParameterType != b.variableParameterType)
     {
         return(false);
     }
     if (detachedIndicator != b.detachedIndicator)
     {
         return(false);
     }
     if (partAttachedToID != b.partAttachedToID)
     {
         return(false);
     }
     if (aPPT != b.aPPT)
     {
         return(false);
     }
     if (attachedPartType != b.attachedPartType)
     {
         return(false);
     }
     return(true);
 }
Esempio n. 2
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool Equals(AttachedPart a, AttachedPart b)
 {
     return(a.Equals(b));
 }