InferParameterBindingInfoConvention クラス

定義

IActionModelConventionパラメーターを推論する BindingSource

public ref class InferParameterBindingInfoConvention : Microsoft::AspNetCore::Mvc::ApplicationModels::IActionModelConvention
public class InferParameterBindingInfoConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention
type InferParameterBindingInfoConvention = class
    interface IActionModelConvention
Public Class InferParameterBindingInfoConvention
Implements IActionModelConvention
継承
InferParameterBindingInfoConvention
実装

注釈

この規則の目的は、推論を直感的かつ簡単に文書化 BindingSource することです。 規則は以下のとおりです。

コンストラクター

InferParameterBindingInfoConvention(IModelMetadataProvider)

InferParameterBindingInfoConvention の新しいインスタンスを初期化します。

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

InferParameterBindingInfoConvention の新しいインスタンスを初期化します。

メソッド

Apply(ActionModel)

規則を に適用するために呼び出されます ActionModel

ShouldApply(ActionModel)

アクションを適用するかどうかを決定するために呼び出されます。

適用対象