reactiveui/ReactiveUI — pull request #255 by bradphelan (2013-04-19 07:04:03+00:00)
Title: Fix binding implementation to use selectors as a more general solution

I've changed

```cs
public static IDisposable Bind(
this TView view,
TViewModel viewModel,
Expression> vmProperty,
object conversionHint = null)
where TViewModel : class
where TView : IViewFor
{
return binderImplementation.Bind(viewModel, view, vmProperty, null, null, conversionHint);
}
```

to

```cs
public static IDisposable Bind(
this TView view,
Expression> viewModelSelector,
Expression> vmProperty,
object conversionHint = null)
where TViewModel : class
where TView : IViewFor
{
return binderImplementation.Bind(viewModelSelector, view, vmProperty, null, null, conversionHint);
}
```

The previous implementation assumed that the ``ViewModel`` of
the view was being stored in the`` ViewModel property``
of the view.

However interface ``IViewFor`` doesn't require this and
I would suggest that ``IViewFor`` drops the requirement.

In the meantime to keep the signiture of the above properly
typesafe the change above was required.

**Problem**

One test is failing and I'm not really sure why or what it's meant to be testing.