Add EditorBrowsable attribute

This commit is contained in:
Jass Bagga 2017-03-29 16:24:44 -07:00 committed by GitHub
parent 1672820e4e
commit 959324b337
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Microsoft.Extensions.Logging;
@ -11,6 +12,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers
/// A <see cref="TagHelperComponentTagHelper"/> targeting the &lt;body&gt; HTML element.
/// </summary>
[HtmlTargetElement("body")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class BodyTagHelper : TagHelperComponentTagHelper
{
/// <summary>

View File

@ -2,6 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Microsoft.Extensions.Logging;
@ -11,6 +12,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers
/// A <see cref="TagHelperComponentTagHelper"/> targeting the &lt;head&gt; HTML element.
/// </summary>
[HtmlTargetElement("head")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class HeadTagHelper : TagHelperComponentTagHelper
{
/// <summary>