6 references to TestController
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
Filters\AntiforgeryApplicationModelProviderTest.cs (6)
20var context = CreateProviderContext(typeof(TestController)); 30Assert.Equal(nameof(TestController.WithAntiforgeryMetadata), model.ActionName); 35Assert.Equal(nameof(TestController.WithMvcAttribute), model.ActionName); 40Assert.Equal(nameof(TestController.NoAttributes), model.ActionName); 164var controllerModel = new ControllerModel(typeof(TestController).GetTypeInfo(), controllerAttributes); 165var actionModel = new ActionModel(typeof(TestController).GetMethod(actionName), actionAttributes)