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


ServicesModelBinder Class

Definition

An IModelBinder which binds models from the request services when a model has the binding source Services.

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

Constructors

ServicesModelBinder()

Methods

BindModelAsync(ModelBindingContext)

Attempts to bind a model.

Applies to