with Result
If the current FilterResult is FilterResult.Match, change its result to the given one. Otherwise, return the original.
Parameters
TOld
The type of the old result
TNew
The type of the new result
result
The new result
If the current FilterResult is FilterResult.Match, change its result to the given one. Otherwise, return the original.
The type of the old result
The type of the new result
The new result