InferParameterBindingInfoConvention Construtores

Definição

Sobrecargas

InferParameterBindingInfoConvention(IModelMetadataProvider)

Inicializa uma nova instância de InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Inicializa uma nova instância de InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider)

Origem:
InferParameterBindingInfoConvention.cs
Origem:
InferParameterBindingInfoConvention.cs

Inicializa uma nova instância de 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)

Parâmetros

modelMetadataProvider
IModelMetadataProvider

O provedor de metadados do modelo.

Aplica-se a

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Origem:
InferParameterBindingInfoConvention.cs

Inicializa uma nova instância de 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)

Parâmetros

modelMetadataProvider
IModelMetadataProvider

O provedor de metadados do modelo.

serviceProviderIsService
IServiceProviderIsService

O serviço para determinar se um tipo está disponível no IServiceProvider.

Aplica-se a