10 writes to RequestPredicate
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingInfo.cs (2)
37RequestPredicate = other.RequestPredicate; 167bindingInfo.RequestPredicate = requestPredicateProvider.RequestPredicate;
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
232RequestPredicate = requestPredicate,
Microsoft.AspNetCore.Mvc.Core.Test (4)
Controllers\ControllerBinderDelegateProviderTest.cs (4)
789RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate, 802RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate, 852RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate, 865RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute()).RequestPredicate,
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
126RequestPredicate = requestPredicate,
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\PageBinderFactoryTest.cs (2)
366RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute() { SupportsGet = true }).RequestPredicate, 425RequestPredicate = ((IRequestPredicateProvider)new BindPropertyAttribute() { SupportsGet = true }).RequestPredicate,
6 references to RequestPredicate
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingInfo.cs (1)
37RequestPredicate = other.RequestPredicate;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
80Assert.NotNull(bindingInfo.RequestPredicate);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ParameterBinder.cs (1)
101if (parameter.BindingInfo?.RequestPredicate?.Invoke(actionContext) == false)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (1)
894Assert.Same(expectedPredicate, bindingInfo.RequestPredicate);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (2)
987Assert.NotNull(p.BindingInfo.RequestPredicate); 988Assert.True(p.BindingInfo.RequestPredicate(new ActionContext