We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61116a4 commit 99f7650Copy full SHA for 99f7650
test/MyTested.AspNetCore.Mvc.Test.Setups/ViewComponents/InheritViewComponent.cs
@@ -6,13 +6,12 @@
6
[ResponseCache]
7
public class InheritViewComponent : BaseInheritViewComponent
8
{
9
- public IViewComponentResult Invoke() => this.View();
10
}
11
12
[AllowAnonymous]
13
[ValidateAntiForgeryToken]
14
- public class BaseInheritViewComponent : ViewComponent
+ public abstract class BaseInheritViewComponent : ViewComponent
15
16
-
+ public virtual IViewComponentResult Invoke() => this.View();
17
18
0 commit comments