Partager via


InferParameterBindingInfoConvention Constructeurs

Définition

Surcharges

InferParameterBindingInfoConvention(IModelMetadataProvider)

Initialise une nouvelle instance de InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Initialise une nouvelle instance de InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider)

Source:
InferParameterBindingInfoConvention.cs
Source:
InferParameterBindingInfoConvention.cs

Initialise une nouvelle instance 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)

Paramètres

modelMetadataProvider
IModelMetadataProvider

Fournisseur de métadonnées de modèle.

S’applique à

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Source:
InferParameterBindingInfoConvention.cs

Initialise une nouvelle instance 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)

Paramètres

modelMetadataProvider
IModelMetadataProvider

Fournisseur de métadonnées de modèle.

serviceProviderIsService
IServiceProviderIsService

Service permettant de déterminer si le type est disponible à partir du IServiceProvider.

S’applique à