Share via


DynamicRouteValueTransformer.TransformAsync Method

Definition

Creates a set of transformed route values that will be used to select an action.

public:
 abstract System::Threading::Tasks::ValueTask<Microsoft::AspNetCore::Routing::RouteValueDictionary ^> TransformAsync(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public abstract System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Routing.RouteValueDictionary> TransformAsync (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
abstract member TransformAsync : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteValueDictionary -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Routing.RouteValueDictionary>
Public MustOverride Function TransformAsync (httpContext As HttpContext, values As RouteValueDictionary) As ValueTask(Of RouteValueDictionary)

Parameters

httpContext
HttpContext

The HttpContext associated with the current request.

values
RouteValueDictionary

The route values associated with the current match. Implementations should not modify values.

Returns

Returns a set of new route values, else null to indicate there was no match.

Applies to