Megosztás a következőn keresztül:


FormFileModelBinder Class

Definition

IModelBinder implementation to bind posted files to IFormFile.

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

Constructors

FormFileModelBinder()
Obsolete.

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

Initializes a new instance of FormFileModelBinder.

FormFileModelBinder(ILoggerFactory)

Initializes a new instance of FormFileModelBinder.

Methods

BindModelAsync(ModelBindingContext)

Attempts to bind a model.

Applies to