Dela via


PathTransformExtensions Class

Definition

Extensions for adding path transforms.

public static class PathTransformExtensions
type PathTransformExtensions = class
Public Module 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