BindingInfo.RequestPredicate 属性

定义

获取或设置一个谓词,该谓词确定是否应基于当前请求的状态绑定模型。

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

属性值

适用于