Compartilhar via


CompositeValueProvider Classe

Definição

Representa um IValueProvider cujos valores vêm de uma coleção de IValueProviders.

public ref class CompositeValueProvider : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^>, Microsoft::AspNetCore::Mvc::ModelBinding::IBindingSourceValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IEnumerableValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider
public ref class CompositeValueProvider : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^>, Microsoft::AspNetCore::Mvc::ModelBinding::IBindingSourceValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IEnumerableValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IKeyRewriterValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider
public class CompositeValueProvider : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider>, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
public class CompositeValueProvider : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider>, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
type CompositeValueProvider = class
    inherit Collection<IValueProvider>
    interface IEnumerableValueProvider
    interface IValueProvider
    interface IBindingSourceValueProvider
type CompositeValueProvider = class
    inherit Collection<IValueProvider>
    interface IEnumerableValueProvider
    interface IValueProvider
    interface IBindingSourceValueProvider
    interface IKeyRewriterValueProvider
type CompositeValueProvider = class
    inherit Collection<IValueProvider>
    interface IBindingSourceValueProvider
    interface IValueProvider
    interface IEnumerableValueProvider
    interface IKeyRewriterValueProvider
Public Class CompositeValueProvider
Inherits Collection(Of IValueProvider)
Implements IBindingSourceValueProvider, IEnumerableValueProvider, IValueProvider
Public Class CompositeValueProvider
Inherits Collection(Of IValueProvider)
Implements IBindingSourceValueProvider, IEnumerableValueProvider, IKeyRewriterValueProvider, IValueProvider
Herança
CompositeValueProvider
Implementações

Construtores

CompositeValueProvider()

Inicializa uma nova instância de CompositeValueProvider.

CompositeValueProvider(IList<IValueProvider>)

Inicializa uma nova instância de CompositeValueProvider.

Métodos

ContainsPrefix(String)

Determina se o conjunto contém o prefixo especificado.

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Cria de forma assíncrona um CompositeValueProvider usando o fornecido actionContext.

CreateAsync(ControllerContext)

Cria de forma assíncrona um CompositeValueProvider usando o fornecido controllerContext.

Filter()

Filtra o provedor de valor para remover chaves reescritas em comparação com os dados da solicitação.

Filter(BindingSource)

Filtra o provedor de valor com base em bindingSource.

GetKeysFromPrefix(String)

Obtém as chaves de um prefixo específico.

GetValue(String)

Recupera um objeto de valor usando a chave especificada.

InsertItem(Int32, IValueProvider)

Representa um IValueProvider cujos valores vêm de uma coleção de IValueProviders.

SetItem(Int32, IValueProvider)

Representa um IValueProvider cujos valores vêm de uma coleção de IValueProviders.

Aplica-se a