CompositeValueProvider 类

定义

表示 IValueProvider 其值来自 的集合的 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::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
继承
CompositeValueProvider
实现

构造函数

CompositeValueProvider()

初始化 CompositeValueProvider 的新实例。

CompositeValueProvider(IList<IValueProvider>)

初始化 CompositeValueProvider 的新实例。

方法

ContainsPrefix(String)

确定集合是否包含指定的前缀。

CreateAsync(ActionContext, IList<IValueProviderFactory>)

使用提供的 actionContext异步创建 CompositeValueProvider

CreateAsync(ControllerContext)

使用提供的 controllerContext异步创建 CompositeValueProvider

Filter()

筛选值提供程序以删除与请求数据相比重写的密钥。

Filter(BindingSource)

基于 bindingSource筛选值提供程序。

GetKeysFromPrefix(String)

获取特定前缀的键。

GetValue(String)

使用指定键来检索值对象。

InsertItem(Int32, IValueProvider)

表示 IValueProvider 其值来自 的集合的 IValueProvider

SetItem(Int32, IValueProvider)

表示 IValueProvider 其值来自 的集合的 IValueProvider

适用于