Léigh i mBéarla

Comhroinn trí


PathTransformExtensions Class

Definition

Extensions for adding path transforms.

C#
public static class PathTransformExtensions
Inheritance
PathTransformExtensions

Methods

AddPathPrefix(TransformBuilderContext, PathString)

Adds the transform which will prefix the request path with the given value.

AddPathRemovePrefix(TransformBuilderContext, PathString)

Adds the transform which will remove the matching prefix from the request path.

AddPathRouteValues(TransformBuilderContext, PathString)

Clones the route and adds the transform which will set the request path with the given value.

AddPathSet(TransformBuilderContext, PathString)

Adds the transform which sets the request path with the given value.

WithTransformPathPrefix(RouteConfig, PathString)

Clones the route and adds the transform which will prefix the request path with the given value.

WithTransformPathRemovePrefix(RouteConfig, PathString)

Clones the route and adds the transform which will remove the matching prefix from the request path.

WithTransformPathRouteValues(RouteConfig, PathString)

Clones the route and adds the transform which will set the request path with the given value.

WithTransformPathSet(RouteConfig, PathString)

Clones the route and adds the transform which sets the request path with the given value.

Applies to

Táirge Leaganacha
Yarp 1.0.1, 1.1.2, 2.0.1, 2.1.0, 2.2.0