You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
We do not want to force tag helper authors toward generic classes. Turns out the TModel / TValue use in existing HTML helpers ends once the code has an expression name and a ModelMetadata instance. Encapsulate these in a ModelExpression class and provide a CreateModelExpression() method in RazorPage<TModel>.
The text was updated successfully, but these errors were encountered:
dougbu
changed the title
Tag helpers: add ModelExpression class to support Expression<Func<TModel, TValue>> properties
Tag Helpers: add ModelExpression class to support Expression<Func<TModel, TValue>> properties
Oct 6, 2014
We do not want to force tag helper authors toward generic classes. Turns out the
TModel
/TValue
use in existing HTML helpers ends once the code has an expression name and aModelMetadata
instance. Encapsulate these in aModelExpression
class and provide aCreateModelExpression()
method inRazorPage<TModel>
.The text was updated successfully, but these errors were encountered: