Megosztás a következőn keresztül:


BindingInfo.RequestPredicate Property

Definition

Gets or sets a predicate which determines whether or not the model should be bound based on state from the current request.

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)

Property Value

Applies to