ITransformFactory.Validate 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.
Checks if the given transform values match a known transform, and if those values have any errors.
public bool Validate (Yarp.ReverseProxy.Transforms.Builder.TransformRouteValidationContext context, System.Collections.Generic.IReadOnlyDictionary<string,string> transformValues);
abstract member Validate : Yarp.ReverseProxy.Transforms.Builder.TransformRouteValidationContext * System.Collections.Generic.IReadOnlyDictionary<string, string> -> bool
Public Function Validate (context As TransformRouteValidationContext, transformValues As IReadOnlyDictionary(Of String, String)) As Boolean
Parameters
- context
- TransformRouteValidationContext
The context to add any generated errors to.
- transformValues
- IReadOnlyDictionary<String,String>
The transform values to validate.
Returns
True if this factory matches the given transform, otherwise false.