This commit is contained in:
Ajay Bhargav Baaskaran 2014-12-23 16:34:13 -08:00
parent 6afd8710fa
commit a818240d8a
9 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
/// <summary> /// <summary>
/// <see cref="ITagHelper"/> implementation targeting &lt;a&gt; elements. /// <see cref="ITagHelper"/> implementation targeting &lt;a&gt; elements.
/// </summary> /// </summary>
[TagName("a")] [HtmlElementName("a")]
public class AnchorTagHelper : TagHelper public class AnchorTagHelper : TagHelper
{ {
private const string ActionAttributeName = "asp-action"; private const string ActionAttributeName = "asp-action";

View File

@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
/// <see cref="ITagHelper"/> implementation targeting &lt;span&gt; elements with an <c>asp-validation-for</c> /// <see cref="ITagHelper"/> implementation targeting &lt;span&gt; elements with an <c>asp-validation-for</c>
/// attribute. /// attribute.
/// </summary> /// </summary>
[TagName("span")] [HtmlElementName("span")]
[ContentBehavior(ContentBehavior.Modify)] [ContentBehavior(ContentBehavior.Modify)]
public class ValidationMessageTagHelper : TagHelper public class ValidationMessageTagHelper : TagHelper
{ {

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers
/// <see cref="ITagHelper"/> implementation targeting &lt;div&gt; elements with an <c>asp-validation-summary</c> /// <see cref="ITagHelper"/> implementation targeting &lt;div&gt; elements with an <c>asp-validation-summary</c>
/// attribute. /// attribute.
/// </summary> /// </summary>
[TagName("div")] [HtmlElementName("div")]
[ContentBehavior(ContentBehavior.Append)] [ContentBehavior(ContentBehavior.Append)]
public class ValidationSummaryTagHelper : TagHelper public class ValidationSummaryTagHelper : TagHelper
{ {

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
namespace TagHelpersWebSite.TagHelpers namespace TagHelpersWebSite.TagHelpers
{ {
[TagName("p")] [HtmlElementName("p")]
[ContentBehavior(ContentBehavior.Modify)] [ContentBehavior(ContentBehavior.Modify)]
public class AutoLinkerTagHelper : TagHelper public class AutoLinkerTagHelper : TagHelper
{ {

View File

@ -6,7 +6,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
namespace TagHelpersWebSite.TagHelpers namespace TagHelpersWebSite.TagHelpers
{ {
[TagName("div", "style", "p")] [HtmlElementName("div", "style", "p")]
[ContentBehavior(ContentBehavior.Modify)] [ContentBehavior(ContentBehavior.Modify)]
public class ConditionTagHelper : TagHelper public class ConditionTagHelper : TagHelper
{ {

View File

@ -6,7 +6,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
namespace TagHelpersWebSite.TagHelpers namespace TagHelpersWebSite.TagHelpers
{ {
[TagName("nested")] [HtmlElementName("nested")]
[ContentBehavior(ContentBehavior.Modify)] [ContentBehavior(ContentBehavior.Modify)]
public class NestedViewStartTagHelper : TagHelper public class NestedViewStartTagHelper : TagHelper
{ {

View File

@ -8,7 +8,7 @@ using Microsoft.AspNet.Razor.Runtime.TagHelpers;
namespace TagHelpersWebSite.TagHelpers namespace TagHelpersWebSite.TagHelpers
{ {
[TagName("*")] [HtmlElementName("*")]
public class PrettyTagHelper : TagHelper public class PrettyTagHelper : TagHelper
{ {
private static readonly Dictionary<string, string> PrettyTagStyles = private static readonly Dictionary<string, string> PrettyTagStyles =

View File

@ -6,7 +6,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
namespace TagHelpersWebSite.TagHelpers namespace TagHelpersWebSite.TagHelpers
{ {
[TagName("root")] [HtmlElementName("root")]
[ContentBehavior(ContentBehavior.Replace)] [ContentBehavior(ContentBehavior.Replace)]
public class RootViewStartTagHelper : TagHelper public class RootViewStartTagHelper : TagHelper
{ {

View File

@ -12,7 +12,7 @@ using Microsoft.AspNet.Razor.TagHelpers;
namespace MvcSample.Web.Components namespace MvcSample.Web.Components
{ {
[TagName("tag-cloud")] [HtmlElementName("tag-cloud")]
[ViewComponent(Name = "Tags")] [ViewComponent(Name = "Tags")]
[ContentBehavior(ContentBehavior.Replace)] [ContentBehavior(ContentBehavior.Replace)]
public class TagCloudViewComponentTagHelper : ITagHelper public class TagCloudViewComponentTagHelper : ITagHelper