Share via


ModelBinderFactory Class

Definition

A factory for IModelBinder instances.

public ref class ModelBinderFactory : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinderFactory
public class ModelBinderFactory : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory
type ModelBinderFactory = class
    interface IModelBinderFactory
Public Class ModelBinderFactory
Implements IModelBinderFactory
Inheritance
ModelBinderFactory
Implements

Constructors

ModelBinderFactory(IModelMetadataProvider, IOptions<MvcOptions>, IServiceProvider)

Creates a new ModelBinderFactory.

ModelBinderFactory(IModelMetadataProvider, IOptions<MvcOptions>)
Obsolete.

This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an IServiceProvider.

Creates a new ModelBinderFactory.

Methods

CreateBinder(ModelBinderFactoryContext)

Creates a new IModelBinder.

Applies to