Created
February 22, 2010 23:03
-
-
Save DarthFubuMVC/311632 to your computer and use it in GitHub Desktop.
This file contains 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 RenderPartialExpression<TInputModel> QuickPartial<TInputModel, TPartialModel>( | |
this IFubuPage<TInputModel> page, Expression<Func<TInputModel, TPartialModel>> expression) | |
where TInputModel : class | |
where TPartialModel : class | |
{ | |
return new RenderPartialExpression<TInputModel>(page, page.Get<IPartialRenderer>(), page.Get<IFubuRequest>()) | |
.For(expression); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment