CompositeValueProvider Class

Definition

Represents a IValueProvider whose values come from a collection of 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
Inheritance
CompositeValueProvider
Implements

Constructors

CompositeValueProvider()

Initializes a new instance of CompositeValueProvider.

CompositeValueProvider(IList<IValueProvider>)

Initializes a new instance of CompositeValueProvider.

Methods

ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Asynchronously creates a CompositeValueProvider using the provided actionContext.

CreateAsync(ControllerContext)

Asynchronously creates a CompositeValueProvider using the provided controllerContext.

Filter()

Filters the value provider to remove keys rewritten compared to the request data.

Filter(BindingSource)

Filters the value provider based on bindingSource.

GetKeysFromPrefix(String)

Gets the keys for a specific prefix.

GetValue(String)

Retrieves a value object using the specified key.

InsertItem(Int32, IValueProvider) System.Collections.ObjectModel.Collection`1.InsertItem(System.Int32,Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)
SetItem(Int32, IValueProvider) System.Collections.ObjectModel.Collection`1.SetItem(System.Int32,Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)

Applies to