public override bool Equals(object obj) { StatisticsStatementListViewModelFilter other = obj as StatisticsStatementListViewModelFilter; if (other != null) { return(other.FilterDateFrom == this.FilterDateFrom && other.FilterDateTo == this.FilterDateTo); } return(false); }