//---------------------------------------------------------------------------------------------------------------------- public override bool Equals(System.Object TEMPLATE_OTHER_OBJECT) // Used to overide two identical instance from same class { if (!(otherTask is Task)) { return(false); } else { TEMPLATE_OBJECT newTEMPLATE_OBJECT = (TEMPLATE_OBJECT)TEMPLATE_OTHER_OBJECT; bool TEMPLATEpropertyEquality = (this.TEMPLATEproperty() == newTEMPLATE_OBJECT.TEMPLATEproperty()); return(TEMPLATEpropertyEquality); } }
public override bool Equals(System.Object TEMPLATE_OTHER_OBJECT) { if (!(otherTask is Task)) { return(false); } else { TEMPLATE_OBJECT newTEMPLATE_OBJECT = (TEMPLATE_OBJECT)TEMPLATE_OTHER_OBJECT; bool TEMPLATEpropertyEquality = (this.TEMPLATEproperty() == newTEMPLATE_OBJECT.TEMPLATEproperty()); return(TEMPLATEpropertyEquality); } }