共用方式為


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 集合。

適用於