Пример #1
0
 /// <summary>
 /// Tests equity between 2 objects using VBA's type promotion rules.
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns>VBA equity</returns>
 public new bool Equals(object x, object y)
 {
     return(VariantComparer.Compare(x, y) == VariantComparisonResults.VARCMP_EQ);
 }
Пример #2
0
 public bool Equals(VariantComparer other)
 {
     return(Equals(_sourceComparer, other._sourceComparer));
 }