Bind
Bind copied to clipboard
A small but powerful C# library for data binding
This fixes a bug that causes objects to never get disposed to do a neverending strong reference
Object reference not set to an instance of an object. Android not supported?
@praeclarum Any plans on continuing the development on this? would this work as-in in a Xamarin.Android (non-forms) implementation?
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)
Solution : Add to RemoveMemberChangeAction method this line objectSubs.Remove(key); ` internal static void RemoveMemberChangeAction(MemberChangeAction sub) { var key = Tuple.Create(sub.Target, sub.Member); MemberActions subs; if (objectSubs.TryGetValue(key, out subs)) { // Debug.WriteLine...
Fixed lambda's delegate generation.
Can we get a NuGet package of this? Thanks!
I have a change proposal for `public static object EvalExpression (Expression expr)` Instead of: ```C# return lambda.Compile ().DynamicInvoke (); ``` you could do this: ```C# var deleg = lambda.Compile ();...
Within Bind.cs, around line 100, I would propose to check for read-only property using CanWrite: ``` } else if (p != null) { if(p.CanWrite) { p.SetValue(target, value, null); } ```
Awesome Frank! Have you tried this with a basic WinForm/WPF app? I may be an idiot and fresh off vacation but doesn't seem to be working as I change values...