Compartir a través de


InferParameterBindingInfoConvention Constructores

Definición

Sobrecargas

InferParameterBindingInfoConvention(IModelMetadataProvider)

Inicializa una nueva instancia de la clase InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Inicializa una nueva instancia de la clase InferParameterBindingInfoConvention.

InferParameterBindingInfoConvention(IModelMetadataProvider)

Source:
InferParameterBindingInfoConvention.cs
Source:
InferParameterBindingInfoConvention.cs

Inicializa una nueva instancia de la clase 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

Proveedor de metadatos del modelo.

Se aplica a

InferParameterBindingInfoConvention(IModelMetadataProvider, IServiceProviderIsService)

Source:
InferParameterBindingInfoConvention.cs

Inicializa una nueva instancia de la clase 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

Proveedor de metadatos del modelo.

serviceProviderIsService
IServiceProviderIsService

El servicio para determinar si un tipo está disponible en .IServiceProvider

Se aplica a