예제 #1
0
        public bool Equals(FinancialResultLineItem other)
        {
            if (other == null)
            {
                return(false);
            }

            return(LineItemTitle.Equals(other.LineItemTitle, StringComparison.InvariantCultureIgnoreCase) &&
                   Value.Equals(other.Value));
        }
예제 #2
0
 public override int GetHashCode()
 {
     return(LineItemTitle.GetHashCode(StringComparison.Ordinal) ^
            Value.GetHashCode());
 }