다음을 통해 공유


InferParameterBindingInfoConvention 생성자

정의

오버로드

InferParameterBindingInfoConvention(IModelMetadataProvider)

InferParameterBindingInfoConvention의 새 인스턴스를 초기화합니다.

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

InferParameterBindingInfoConvention의 새 인스턴스를 초기화합니다.

InferParameterBindingInfoConvention(IModelMetadataProvider)

Source:
InferParameterBindingInfoConvention.cs
Source:
InferParameterBindingInfoConvention.cs

InferParameterBindingInfoConvention의 새 인스턴스를 초기화합니다.

public:
 InferParameterBindingInfoConvention(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public InferParameterBindingInfoConvention (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention
Public Sub New (modelMetadataProvider As IModelMetadataProvider)

매개 변수

modelMetadataProvider
IModelMetadataProvider

모델 메타데이터 공급자입니다.

적용 대상

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Source:
InferParameterBindingInfoConvention.cs

InferParameterBindingInfoConvention의 새 인스턴스를 초기화합니다.

public InferParameterBindingInfoConvention (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.Extensions.DependencyInjection.IServiceProviderIsService serviceProviderIsService);
new Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.Extensions.DependencyInjection.IServiceProviderIsService -> Microsoft.AspNetCore.Mvc.ApplicationModels.InferParameterBindingInfoConvention
Public Sub New (modelMetadataProvider As IModelMetadataProvider, serviceProviderIsService As IServiceProviderIsService)

매개 변수

modelMetadataProvider
IModelMetadataProvider

모델 메타데이터 공급자입니다.

serviceProviderIsService
IServiceProviderIsService

형식을 에서 IServiceProvider사용할 수 있는지 확인하는 서비스입니다.

적용 대상