Delen via


RouteValueProvider Class

Definition

An IValueProvider adapter for data stored in an RouteValueDictionary.

public ref class RouteValueProvider : Microsoft::AspNetCore::Mvc::ModelBinding::BindingSourceValueProvider
public class RouteValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider
type RouteValueProvider = class
    inherit BindingSourceValueProvider
Public Class RouteValueProvider
Inherits BindingSourceValueProvider
Inheritance
RouteValueProvider

Constructors

RouteValueProvider(BindingSource, RouteValueDictionary, CultureInfo)

Creates a new RouteValueProvider.

RouteValueProvider(BindingSource, RouteValueDictionary)

Creates a new RouteValueProvider.

Properties

BindingSource

Gets the corresponding BindingSource.

(Inherited from BindingSourceValueProvider)
Culture

The culture to use.

PrefixContainer

The prefix container.

Methods

ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

Filter(BindingSource)

Filters the value provider based on bindingSource.

(Inherited from BindingSourceValueProvider)
GetValue(String)

Retrieves a value object using the specified key.

Applies to