IKeyRewriterValueProvider.Filter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Filters the value provider to remove keys rewritten compared to the request data.
public:
Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^ Filter();
public Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider Filter ();
public Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider? Filter ();
abstract member Filter : unit -> Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
Public Function Filter () As IValueProvider
Returns
The filtered value provider or if the value provider only contains rewritten keys.
Examples
If the request contains values with keys Model.Property
and Collection[index]
, the returned
IValueProvider will not match Model[Property]
or Collection.index
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for