Ejemplo n.º 1
0
 /// <summary>
 ///     Compare two ToggleExpansionData structures
 /// </summary>
 /// <param name="operand1">Left operand</param>
 /// <param name="operand2">Right operand</param>
 /// <returns>true if operands are equal</returns>
 public static bool Compare(ToggleExpansionData operand1, ToggleExpansionData operand2)
 {
     return operand1.myChange == operand2.myChange && operand1.myAllowRecursion == operand2.myAllowRecursion;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Compare two ToggleExpansionData structures
 /// </summary>
 /// <param name="operand1">Left operand</param>
 /// <param name="operand2">Right operand</param>
 /// <returns>true if operands are equal</returns>
 public static bool Compare(ToggleExpansionData operand1, ToggleExpansionData operand2)
 {
     return(operand1.myChange == operand2.myChange && operand1.myAllowRecursion == operand2.myAllowRecursion);
 }