Implemented interface member:
method
Execute
Microsoft.AspNetCore.Mvc.IViewComponentResult.Execute(Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext)
9 references to Execute
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
ViewComponents\ViewViewComponentResultTest.cs (9)
57result.Execute(viewComponentContext); 91result.Execute(viewComponentContext); 127result.Execute(viewComponentContext); 175var ex = Assert.Throws<InvalidOperationException>(() => result.Execute(viewComponentContext)); 213var ex = Assert.Throws<InvalidOperationException>(() => result.Execute(viewComponentContext)); 253var ex = Assert.Throws<InvalidOperationException>(() => result.Execute(viewComponentContext)); 291var actual = Record.Exception(() => result.Execute(viewComponentContext)); 471componentResult.Execute(componentContext); 498componentResult.Execute(componentContext);