private void AddTerms(IEnumerable <Term> newTerms) { Terms.AddRange( from newTerm in newTerms where Terms.All(t => t.ID != newTerm.ID) select newTerm); }
public bool IsEqualZero() { return(Terms.All(v => v.Value.IsNullOrEqualZero())); }