Skip to content

Commit 3fe0e30

Browse files
committed
Make sealed
1 parent 0557585 commit 3fe0e30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public CacheTagHelperOptions() { }
106106
public long SizeLimit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
107107
}
108108
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute("component", Attributes="type", TagStructure=Microsoft.AspNetCore.Razor.TagHelpers.TagStructure.WithoutEndTag)]
109-
public partial class ComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
109+
public sealed partial class ComponentTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
110110
{
111111
public ComponentTagHelper() { }
112112
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute("type")]

src/Mvc/Mvc.TagHelpers/src/ComponentTagHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers
1515
/// A <see cref="TagHelper"/> that renders a Razor component.
1616
/// </summary>
1717
[HtmlTargetElement("component", Attributes = ComponentTypeName, TagStructure = TagStructure.WithoutEndTag)]
18-
public class ComponentTagHelper : TagHelper
18+
public sealed class ComponentTagHelper : TagHelper
1919
{
2020
private const string ComponentParameterName = "params";
2121
private const string ComponentParameterPrefix = "param-";

0 commit comments

Comments
 (0)