React to aspnet/Razor#263 changes
This commit is contained in:
parent
6afd8710fa
commit
a818240d8a
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
|
|||
/// <summary>
|
||||
/// <see cref="ITagHelper"/> implementation targeting <a> elements.
|
||||
/// </summary>
|
||||
[TagName("a")]
|
||||
[HtmlElementName("a")]
|
||||
public class AnchorTagHelper : TagHelper
|
||||
{
|
||||
private const string ActionAttributeName = "asp-action";
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
|
|||
/// <see cref="ITagHelper"/> implementation targeting <span> elements with an <c>asp-validation-for</c>
|
||||
/// attribute.
|
||||
/// </summary>
|
||||
[TagName("span")]
|
||||
[HtmlElementName("span")]
|
||||
[ContentBehavior(ContentBehavior.Modify)]
|
||||
public class ValidationMessageTagHelper : TagHelper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
|
|||
/// <see cref="ITagHelper"/> implementation targeting <div> elements with an <c>asp-validation-summary</c>
|
||||
/// attribute.
|
||||
/// </summary>
|
||||
[TagName("div")]
|
||||
[HtmlElementName("div")]
|
||||
[ContentBehavior(ContentBehavior.Append)]
|
||||
public class ValidationSummaryTagHelper : TagHelper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
|
|||
|
||||
namespace TagHelpersWebSite.TagHelpers
|
||||
{
|
||||
[TagName("p")]
|
||||
[HtmlElementName("p")]
|
||||
[ContentBehavior(ContentBehavior.Modify)]
|
||||
public class AutoLinkerTagHelper : TagHelper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
|
|||
|
||||
namespace TagHelpersWebSite.TagHelpers
|
||||
{
|
||||
[TagName("div", "style", "p")]
|
||||
[HtmlElementName("div", "style", "p")]
|
||||
[ContentBehavior(ContentBehavior.Modify)]
|
||||
public class ConditionTagHelper : TagHelper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
|
|||
|
||||
namespace TagHelpersWebSite.TagHelpers
|
||||
{
|
||||
[TagName("nested")]
|
||||
[HtmlElementName("nested")]
|
||||
[ContentBehavior(ContentBehavior.Modify)]
|
||||
public class NestedViewStartTagHelper : TagHelper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNet.Razor.Runtime.TagHelpers;
|
|||
|
||||
namespace TagHelpersWebSite.TagHelpers
|
||||
{
|
||||
[TagName("*")]
|
||||
[HtmlElementName("*")]
|
||||
public class PrettyTagHelper : TagHelper
|
||||
{
|
||||
private static readonly Dictionary<string, string> PrettyTagStyles =
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
|
|||
|
||||
namespace TagHelpersWebSite.TagHelpers
|
||||
{
|
||||
[TagName("root")]
|
||||
[HtmlElementName("root")]
|
||||
[ContentBehavior(ContentBehavior.Replace)]
|
||||
public class RootViewStartTagHelper : TagHelper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
|
|||
|
||||
namespace MvcSample.Web.Components
|
||||
{
|
||||
[TagName("tag-cloud")]
|
||||
[HtmlElementName("tag-cloud")]
|
||||
[ViewComponent(Name = "Tags")]
|
||||
[ContentBehavior(ContentBehavior.Replace)]
|
||||
public class TagCloudViewComponentTagHelper : ITagHelper
|
||||
|
|
|
|||
Loading…
Reference in New Issue