Add EditorBrowsable attribute
This commit is contained in:
parent
1672820e4e
commit
959324b337
|
|
@ -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 <body> HTML element.
|
||||
/// </summary>
|
||||
[HtmlTargetElement("body")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class BodyTagHelper : TagHelperComponentTagHelper
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -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 <head> HTML element.
|
||||
/// </summary>
|
||||
[HtmlTargetElement("head")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public class HeadTagHelper : TagHelperComponentTagHelper
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue