Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Tag Helpers: add ModelExpression class to support `Expression<Func<TMo... #1256

Merged
merged 3 commits into from
Oct 7, 2014

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Oct 7, 2014

...del, TValue>>` attributes

nit:

  • regenerating the resources reordered Microsoft.AspNet.Mvc.Core's Resources.designer.cs

@dougbu
Copy link
Contributor Author

dougbu commented Oct 7, 2014

/cc @NTaylorMullen

@@ -9,6 +16,8 @@ namespace Microsoft.AspNet.Mvc.Razor
/// <typeparam name="TModel">The type of the view data model.</typeparam>
public abstract class RazorPage<TModel> : RazorPage
{
IModelMetadataProvider _provider;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accessor

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why? it's not an accessor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private IModelMetadataProvider _provider

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@NTaylorMullen
Copy link

🐃

@dougbu
Copy link
Contributor Author

dougbu commented Oct 7, 2014

what does the water buffalo mean?

dougbu added 2 commits October 7, 2014 09:56
…TModel, TValue>>` attributes

- includes new `RazorPage<TModel>.CreateModelExpression<TValue>()` method
- #1240

nit:
- regenerating the resources reordered Microsoft.AspNet.Mvc.Core's Resources.designer.cs
@dougbu dougbu force-pushed the model.expression.1240 branch from c6430df to 570c325 Compare October 7, 2014 17:00
@dougbu
Copy link
Contributor Author

dougbu commented Oct 7, 2014

Rebased and added copyright notices

@dougbu
Copy link
Contributor Author

dougbu commented Oct 7, 2014

udpated

@NTaylorMullen
Copy link

:shipit:

@dougbu dougbu merged commit f3861b9 into TagHelpersFeature Oct 7, 2014
@dougbu dougbu deleted the model.expression.1240 branch October 7, 2014 21:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants