Condividi tramite


InferParameterBindingInfoConvention Costruttori

Definizione

Overload

InferParameterBindingInfoConvention(IModelMetadataProvider)

Inizializza una nuova istanza di InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Inizializza una nuova istanza di InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider)

Origine:
InferParameterBindingInfoConvention.cs
Origine:
InferParameterBindingInfoConvention.cs

Inizializza una nuova istanza di 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)

Parametri

modelMetadataProvider
IModelMetadataProvider

Provider di metadati del modello.

Si applica a

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Origine:
InferParameterBindingInfoConvention.cs

Inizializza una nuova istanza di 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)

Parametri

modelMetadataProvider
IModelMetadataProvider

Provider di metadati del modello.

serviceProviderIsService
IServiceProviderIsService

Servizio per determinare se il tipo è disponibile da IServiceProvider.

Si applica a