ITransformFactory.Build 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 so, generates a transform and adds it to the context. This can throw if the transform values are invalid.
public bool Build (Yarp.ReverseProxy.Transforms.Builder.TransformBuilderContext context, System.Collections.Generic.IReadOnlyDictionary<string,string> transformValues);
abstract member Build : Yarp.ReverseProxy.Transforms.Builder.TransformBuilderContext * System.Collections.Generic.IReadOnlyDictionary<string, string> -> bool
Public Function Build (context As TransformBuilderContext, transformValues As IReadOnlyDictionary(Of String, String)) As Boolean
Parameters
- context
- TransformBuilderContext
The context to add any generated transforms to.
- transformValues
- IReadOnlyDictionary<String,String>
The transform values to use as input.
Returns
True if this factory matches the given transform, otherwise false.