RouteConfigTransformExtensions.WithTransform 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.
Clones the RouteConfig and adds the transform.
public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransform (this Yarp.ReverseProxy.Configuration.RouteConfig route, Action<System.Collections.Generic.IDictionary<string,string>> createTransform);
static member WithTransform : Yarp.ReverseProxy.Configuration.RouteConfig * Action<System.Collections.Generic.IDictionary<string, string>> -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransform (route As RouteConfig, createTransform As Action(Of IDictionary(Of String, String))) As RouteConfig
Parameters
- route
- RouteConfig
- createTransform
- Action<IDictionary<String,String>>
Returns
The cloned route with the new transform.