praeclarum / Bind

A small but powerful C# library for data binding
Other
204 stars 34 forks source link

(Warning) Objects for binding must implement IComparable interface #13

Open vlkam opened 7 years ago

vlkam commented 7 years ago

Otherwise, bindings don't work

Solution : comment line ((v is IComparable) && ((IComparable)v).CompareTo(Value) != 0))

in method

void OnSideChanged(Expression expr, Expression dependentExpr, int causeChangeId)

praeclarum commented 5 years ago

Ah yes I should use equality comparison.