Update partial-tag-helper.md (#10700)

Remove a repeated sentence.
pull/10712/head
Shadi Namrouti 2019-01-30 23:23:55 +02:00 committed by Rick Anderson
parent 28e6882988
commit 063d48753a
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ The following markup uses an explicit path, indicating that *_ProductPartial.csh
## for
The `for` attribute assigns a [ModelExpression](/dotnet/api/microsoft.aspnetcore.mvc.viewfeatures.modelexpression) to be evaluated against the current model. A `ModelExpression` infers the `@Model.` syntax. For example, `for="Product"` can be used instead of `for="@Model.Product"`. This default inference behavior is overridden by using the `@` symbol to define an inline expression. The `for` attribute can't be used with the [model](#model) attribute.
The `for` attribute assigns a [ModelExpression](/dotnet/api/microsoft.aspnetcore.mvc.viewfeatures.modelexpression) to be evaluated against the current model. A `ModelExpression` infers the `@Model.` syntax. For example, `for="Product"` can be used instead of `for="@Model.Product"`. This default inference behavior is overridden by using the `@` symbol to define an inline expression.
The following markup loads *_ProductPartial.cshtml*: