IRequestPredicateProvider.RequestPredicate 属性

定义

获取一个函数,该函数确定是否应根据当前请求绑定模型对象。

public:
 property Func<Microsoft::AspNetCore::Mvc::ActionContext ^, bool> ^ RequestPredicate { Func<Microsoft::AspNetCore::Mvc::ActionContext ^, bool> ^ get(); };
public Func<Microsoft.AspNetCore.Mvc.ActionContext,bool> RequestPredicate { get; }
member this.RequestPredicate : Func<Microsoft.AspNetCore.Mvc.ActionContext, bool>
Public ReadOnly Property RequestPredicate As Func(Of ActionContext, Boolean)

属性值

适用于