212 references to ActionContext
Microsoft.AspNetCore.Mvc.Core.Test (136)
DependencyInjection\ApiBehaviorOptionsSetupTest.cs (1)
146return new ActionContext
FileResultHelperTest.cs (4)
246var actionContext = new ActionContext(); 287var actionContext = new ActionContext(); 324var actionContext = new ActionContext(); 360var actionContext = new ActionContext();
Filters\MiddlewareFilterTest.cs (1)
228() => Task.FromResult(new ResourceExecutedContext(new ActionContext(), new List<IFilterMetadata>())));
HttpNotFoundObjectResultTest.cs (1)
41var actionContext = new ActionContext()
Infrastructure\ActionMethodExecutorTest.cs (16)
23new ActionContext(), 49new ActionContext(), 75new ActionContext(), 100new ActionContext(), 129new ActionContext(), 158new ActionContext(), 187new ActionContext(), 212new ActionContext(), 238new ActionContext(), 264new ActionContext(), 289new ActionContext(), 315new ActionContext(), 344new ActionContext(), 373new ActionContext(), 398new ActionContext(), 427new ActionContext(),
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
27var context = new ActionInvokerProviderContext(new ActionContext()
Infrastructure\FileStreamResultExecutorTest.cs (1)
18var actionContext = new ActionContext() { HttpContext = httpContext };
Infrastructure\ObjectResultExecutorTest.cs (17)
25var actionContext = new ActionContext() { HttpContext = httpContext }; 53var actionContext = new ActionContext() { HttpContext = httpContext }; 76var actionContext = new ActionContext() { HttpContext = httpContext }; 98var actionContext = new ActionContext() { HttpContext = httpContext }; 119var actionContext = new ActionContext() { HttpContext = httpContext }; 144var actionContext = new ActionContext() { HttpContext = httpContext }; 166var actionContext = new ActionContext() { HttpContext = httpContext }; 188var actionContext = new ActionContext() { HttpContext = httpContext }; 214var actionContext = new ActionContext() { HttpContext = httpContext }; 239var actionContext = new ActionContext() { HttpContext = httpContext }; 259var actionContext = new ActionContext() 288var actionContext = new ActionContext() 311var actionContext = new ActionContext 347var actionContext = new ActionContext() { HttpContext = new DefaultHttpContext() }; 385var actionContext = new ActionContext() 422var actionContext = new ActionContext() 445var actionContext = new ActionContext()
Infrastructure\ProblemDetalsClientErrorFactoryTest.cs (1)
122return new ActionContext
ModelBinding\Binders\ArrayModelBinderTest.cs (1)
231var actionContext = new ActionContext
ModelBinding\Binders\BinderTypeModelBinderTest.cs (1)
75ActionContext = new ActionContext()
ModelBinding\Binders\BodyModelBinderTests.cs (1)
691ActionContext = new ActionContext()
ModelBinding\Binders\CancellationTokenModelBinderTests.cs (1)
31ActionContext = new ActionContext()
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
531var actionContext = new ActionContext()
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (5)
466ActionContext = new ActionContext() 493ActionContext = new ActionContext() 521ActionContext = new ActionContext() 548ActionContext = new ActionContext() 574ActionContext = new ActionContext()
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (5)
647ActionContext = new ActionContext() 674ActionContext = new ActionContext() 702ActionContext = new ActionContext() 729ActionContext = new ActionContext() 755ActionContext = new ActionContext()
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
622var actionContext = new ActionContext()
ModelBinding\Binders\FormCollectionModelBinderTest.cs (1)
71ActionContext = new ActionContext()
ModelBinding\Binders\FormFileModelBinderTest.cs (6)
52new ActionContext { HttpContext = httpContext }, 90new ActionContext { HttpContext = httpContext }, 132new ActionContext { HttpContext = httpContext }, 167new ActionContext { HttpContext = httpContext }, 203new ActionContext { HttpContext = httpContext }, 459ActionContext = new ActionContext()
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
362ActionContext = new ActionContext()
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (1)
203ActionContext = new ActionContext()
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
44ActionContext = new ActionContext()
ModelBinding\DefaultModelBindingContextTest.cs (1)
160return new ActionContext()
ModelBinding\ModelBindingHelperTest.cs (1)
1498return new ActionContext()
ModelBinding\UnsupportedContentTypeFilterTest.cs (4)
18new ActionContext 51new ActionContext 77new ActionContext 101new ActionContext
ModelBinding\Validation\DefaultObjectValidatorTests.cs (41)
25var actionContext = new ActionContext(); 51var actionContext = new ActionContext(); 78var actionContext = new ActionContext(); 107var actionContext = new ActionContext(); 135var actionContext = new ActionContext(); 156var actionContext = new ActionContext(); 188var actionContext = new ActionContext(); 220var actionContext = new ActionContext(); 252var actionContext = new ActionContext(); 294var actionContext = new ActionContext(); 326var actionContext = new ActionContext(); 358var actionContext = new ActionContext(); 399var actionContext = new ActionContext(); 433var actionContext = new ActionContext(); 470var actionContext = new ActionContext(); 515var actionContext = new ActionContext(); 587var actionContext = new ActionContext { HttpContext = httpContext.Object }; 617var actionContext = new ActionContext(); 645var actionContext = new ActionContext(); 681var actionContext = new ActionContext(); 716var actionContext = new ActionContext(); 753var actionContext = new ActionContext(); 786var actionContext = new ActionContext(); 829var actionContext = new ActionContext(); 904var actionContext = new ActionContext(); 945var actionContext = new ActionContext(); 979var actionContext = new ActionContext(); 1026var actionContext = new ActionContext(); 1086var actionContext = new ActionContext(); 1107var actionContext = new ActionContext(); 1127var actionContext = new ActionContext(); 1160var actionContext = new ActionContext(); 1201var actionContext = new ActionContext(); 1224var actionContext = new ActionContext(); 1270var actionContext = new ActionContext(); 1290var actionContext = new ActionContext(); 1309var actionContext = new ActionContext(); 1340var actionContext = new ActionContext(); 1362var actionContext = new ActionContext(); 1391var actionContext = new ActionContext(); 1421var actionContext = new ActionContext();
ObjectResultTests.cs (4)
47var actionContext = new ActionContext() 79var actionContext = new ActionContext() 108var actionContext = new ActionContext() 139var actionContext = new ActionContext()
RedirectToPageResultTest.cs (2)
84var pageContext = new ActionContext 141var pageContext = new ActionContext
Routing\UrlHelperExtensionsTest.cs (13)
26var actionContext = new ActionContext 218var actionContext = new ActionContext 261var actionContext = new ActionContext 310var actionContext = new ActionContext 358var actionContext = new ActionContext 401var actionContext = new ActionContext 495var actionContext = new ActionContext 539var actionContext = new ActionContext 570var actionContext = new ActionContext 715var actionContext = new ActionContext 763var actionContext = new ActionContext 811var actionContext = new ActionContext 866return new ActionContext
Routing\UrlHelperTestBase.cs (1)
1081var urlHelper = new UrlHelper(new ActionContext
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (48)
CompareAttributeAdapterTest.cs (6)
28var actionContext = new ActionContext(); 71var actionContext = new ActionContext(); 106var actionContext = new ActionContext(); 143var actionContext = new ActionContext(); 183var actionContext = new ActionContext(); 216var actionContext = new ActionContext();
DataAnnotationsModelValidatorTest.cs (10)
109actionContext: new ActionContext(), 139actionContext: new ActionContext(), 168actionContext: new ActionContext(), 200actionContext: new ActionContext(), 223actionContext: new ActionContext(), 248actionContext: new ActionContext(), 348actionContext: new ActionContext(), 380actionContext: new ActionContext(), 423actionContext: new ActionContext 525actionContext: new ActionContext(),
FileExtensionsAttributeAdapterTest.cs (4)
33var context = new ClientModelValidationContext(new ActionContext(), metadata, provider, new Dictionary<string, string>()); 84var context = new ClientModelValidationContext(new ActionContext(), metadata, provider, new Dictionary<string, string>()); 119var context = new ClientModelValidationContext(new ActionContext(), metadata, provider, new Dictionary<string, string>()); 144var context = new ClientModelValidationContext(new ActionContext(), metadata, provider, new Dictionary<string, string>());
MaxLengthAttributeAdapterTest.cs (5)
35var actionContext = new ActionContext(); 62var actionContext = new ActionContext(); 91var actionContext = new ActionContext(); 124var actionContext = new ActionContext(); 151var actionContext = new ActionContext();
MinLengthAttributeAdapterTest.cs (4)
35var actionContext = new ActionContext(); 62var actionContext = new ActionContext(); 90var actionContext = new ActionContext(); 116var actionContext = new ActionContext();
NumericClientModelValidatorTest.cs (5)
23var actionContext = new ActionContext(); 57var actionContext = new ActionContext(); 89var actionContext = new ActionContext(); 115var actionContext = new ActionContext(); 138var actionContext = new ActionContext();
RangeAttributeAdapterTest.cs (3)
29var actionContext = new ActionContext(); 65var actionContext = new ActionContext(); 93var actionContext = new ActionContext();
RequiredAttributeAdapterTest.cs (3)
36var actionContext = new ActionContext(); 61var actionContext = new ActionContext(); 86var actionContext = new ActionContext();
StringLengthAttributeAdapterTest.cs (5)
36var actionContext = new ActionContext(); 63var actionContext = new ActionContext(); 90var actionContext = new ActionContext(); 118var actionContext = new ActionContext(); 144var actionContext = new ActionContext();
ValidatableObjectAdapterTest.cs (2)
121new ActionContext(), 157new ActionContext(),
ValidationAttributeAdapterOfTAttributeTest.cs (1)
27var actionContext = new ActionContext();
Microsoft.AspNetCore.Mvc.Razor.Test (12)
LanguageViewLocationExpanderTest.cs (3)
134new ActionContext(), 159new ActionContext(), 187new ActionContext(),
RazorViewEngineTest.cs (9)
1614var actionContext = new ActionContext 1638var actionContext = new ActionContext 1661var actionContext = new ActionContext 1684var actionContext = new ActionContext 1711var actionContext = new ActionContext 1738new ActionContext(), 1763new ActionContext(), 1788new ActionContext(), 1815new ActionContext(),
Microsoft.AspNetCore.Mvc.RazorPages.Test (12)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
988Assert.True(p.BindingInfo.RequestPredicate(new ActionContext
Infrastructure\PageActionInvokerProviderTest.cs (9)
53var context = new ActionInvokerProviderContext(new ActionContext() 115var context = new ActionInvokerProviderContext(new ActionContext() 181var context = new ActionInvokerProviderContext(new ActionContext() 213var context = new ActionInvokerProviderContext(new ActionContext 229context = new ActionInvokerProviderContext(new ActionContext 259var context = new ActionInvokerProviderContext(new ActionContext 293var context = new ActionInvokerProviderContext(new ActionContext 330var context1 = new ActionInvokerProviderContext(new ActionContext() 347var context2 = new ActionInvokerProviderContext(new ActionContext()
Infrastructure\PageViewLocationExpanderTest.cs (1)
203var actionContext = new ActionContext
PageModelTest.cs (1)
1792var actionContext = new ActionContext
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Filters\ControllerSaveTempDataPropertyFilterTest.cs (4)
39new ActionContext 85new ActionContext 128new ActionContext 167new ActionContext