다음을 통해 공유


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)

작업이 적용되어야 하는지 여부를 결정하기 위해 호출되었습니다.

적용 대상