/// <summary>
 /// Two composite conditions are equal, if these two composite conditions belong to the same
 /// ConditionDef.
 /// </summary>
 public override bool Equals(object obj)
 {
     if (obj is AbstractCompositeCondition)
     {
         AbstractCompositeCondition condition = obj as AbstractCompositeCondition;
         return(GetConditionDef() == condition.GetConditionDef());
     }
     return(false);
 }
Exemplo n.º 2
0
 public AppendSubconditionException(AbstractCompositeCondition condition, ICondition subCondition)
 {
     m_parentCondition = condition;
     m_subCondition    = subCondition;
 }