public override bool Equals(object obj) { if (base.Equals(obj)) { return(true); } if (obj is BalanceFormula) { BalanceFormula objm = (BalanceFormula)obj; if (objm.name != null && objm.name.Equals(this.name)) { return(true); } } return(false); }
/// <summary> /// /// </summary> public ReconciliationFilterTemplate() { this.visibleInShortcut = true; this.acceptWriteOff = true; this.leftGrid = new Grille(); this.rigthGrid = new Grille(); this.bottomGrid = new Grille(); this.leftGrid.name = "Left"; this.rigthGrid.name = "Right"; this.bottomGrid.name = "Bottom"; this.leftGrid.report = true; this.rigthGrid.report = true; this.bottomGrid.report = true; this.leftGrid.reconciliation = true; this.rigthGrid.reconciliation = true; this.bottomGrid.reconciliation = true; this.balanceFormulaEnum = BalanceFormula.LEFT_MINUS_RIGHT; }