Created
August 27, 2012 09:40
-
-
Save anaisbetts/3486981 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static IDisposable Bind<TViewModel, TView, TProp>( | |
this TView view, | |
Expression<Func<TViewModel, TProp>> vmProperty, | |
Expression<Func<TView, TProp>> viewProperty) | |
where TViewModel : class | |
where TView : IViewFor<TViewModel> | |
{ | |
// C# isn't smart enough to infer the type parameters | |
// by looking at the TView to determine TViewModel | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment