コード例 #1
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="b"></param>
 /// <returns></returns>
 public bool Equals(SimulationAddress b)
 {
     if (siteID != b.siteID)
     {
         return(false);
     }
     if (applicationID != b.applicationID)
     {
         return(false);
     }
     return(true);
 }
コード例 #2
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool Equals(SimulationAddress a, SimulationAddress b)
 {
     return(a.Equals(b));
 }