R2.0

May 6, 2010 at 2:45 PM

Hi,

  Any idea when 2.0 (with two-way notifications) will be landing?

  You were mentioned at http://blog.alner.net/archive/2010/02/09/mvvm-to-wrap-or-not-to-wrap-blinq-and-clinq.aspx and it seems a reasonable step to think you might be able to help with the MVVM list problem.

  Any thoughts?

    thanks,

      J

Coordinator
May 13, 2010 at 1:09 PM

Hi,

Two-way 'notification' just like that can never happen. Point is that with non-trivial or realistic tranformations the system can't deduce what to do with changes originating at the target.

For example if you would bind to a sorted view of a list and a client would add an element at the end of the diplayed view; where in the source list would the system need to add the new element? Extra information is required.

The ObticsBindingHelper library contains extension methods in the Obtics.Collections.ListReturnPath and Obtics.Collections.DictionaryReturnPath classes that allow a developer to specify what needs to happen when updating operations are performed. The Obtics library itself has the ValueProvider.ReturnPath method that allows specification of what needs to happen when an IValueProvider.Value gets updated.

There are some 'examples' of how to use these methods in the UnitTest libraries.

Hope this helps,

Thomas.