IBindingSourceValueProvider Interface¶
A value provider which can filter its contents based on Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource
.
- Namespace
Microsoft.AspNetCore.Mvc.ModelBinding
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public interface IBindingSourceValueProvider : IValueProvider
-
interface
Microsoft.AspNetCore.Mvc.ModelBinding.
IBindingSourceValueProvider
Methods¶
-
Filter
(Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource)¶ Filters the value provider based on <em>bindingSource</em>.
Arguments: bindingSource (Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource) – The Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource
associated with a model.Return type: Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider Returns: The filtered value provider, or <code>null</code> if the value provider does not match <em>bindingSource</em>. IValueProvider Filter(BindingSource bindingSource)
-