Dela via


ITransformFactory.Build Method

Definition

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.

Applies to