Dela via


CancellationTokenModelBinder Class

Definition

IModelBinder implementation to bind models of type CancellationToken.

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

Constructors

CancellationTokenModelBinder()

Methods

BindModelAsync(ModelBindingContext)

Attempts to bind a model.

Applies to