reactiveui/ReactiveUI — pull request #227 by wendazhou (2013-03-28 16:49:40+00:00)
Title: Rxui5 validation

Re-creating the pull request corresponding to https://github.com/reactiveui/ReactiveUI/pull/225 with both branches on the [reactiveui](https://github.com/reactiveui) repository.
See #225 for extended discussion on how the validation system is implemented.

This PR also adresses a few new problems
- we can now dispose of the subscriptions to the validation displays, removing all update to the validation UI
- the syntax has slightly changed, now use `this.DisplayValidationFor(vm => vm.ViewModelProperty`. The old syntax is still possible through `this.DisplayValidationForView(v => v.TextBox.Text)`.

I'm still looking for more feedback on the syntax/implementation. In particular, I am considering a syntax of the form
```c#
this.BindWithValidation(ViewModel, x => x.ViewModelProperty, v => v.TextBox.Text)
```
that would combine `Bind` and `DisplayValidationFor`.

Another possibility would be to modify all the `Bind` type functions to return an object containing rich information about the binding, in which case one could do
```c#
this.Bind(ViewModel, x => x.VmProp, v => v.ViewProp)
.DisplayValidation();
```
which would also solve the problem of having a central repository for all bindings. This does necessitate modifications to the existing binding system though. What's your take on that @xpaulbettsx ?