diff --git a/docs/docfx/articles/transforms.md b/docs/docfx/articles/transforms.md index ddf80fead..c9118029f 100644 --- a/docs/docfx/articles/transforms.md +++ b/docs/docfx/articles/transforms.md @@ -558,11 +558,11 @@ routeConfig = routeConfig.WithTransformXForwarded( ForwardedTransformActions? xPrefix = null); ``` ```C# -transformBuilderContext.AddXForwarded(ForwardedTransformAction.Set); -transformBuilderContext.AddXForwardedFor(headerName: "X-Forwarded-For", ForwardedTransformAction.Append); -transformBuilderContext.AddXForwardedHost(headerName: "X-Forwarded-Host", ForwardedTransformAction.Append); -transformBuilderContext.AddXForwardedProto(headerName: "X-Forwarded-Proto", ForwardedTransformAction.Off); -transformBuilderContext.AddXForwardedPrefix(headerName: "X-Forwarded-Prefix", ForwardedTransformAction.Remove); +transformBuilderContext.AddXForwarded(ForwardedTransformActions.Set); +transformBuilderContext.AddXForwardedFor(headerName: "X-Forwarded-For", ForwardedTransformActions.Append); +transformBuilderContext.AddXForwardedHost(headerName: "X-Forwarded-Host", ForwardedTransformActions.Append); +transformBuilderContext.AddXForwardedProto(headerName: "X-Forwarded-Proto", ForwardedTransformActions.Off); +transformBuilderContext.AddXForwardedPrefix(headerName: "X-Forwarded-Prefix", ForwardedTransformActions.Remove); ``` Example: