Esempio n. 1
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="b"></param>
 /// <returns></returns>
 public bool Equals(EntityMarking b)
 {
     if (mcs != b.mcs)
     {
         return(false);
     }
     if (!Enumerable.SequenceEqual(characters, b.characters))
     {
         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(EntityMarking a, EntityMarking b)
 {
     return(a.Equals(b));
 }