Skip to content

Update RouteHandlerFilterContext.Parameters API #40514

Closed
@captainsafia

Description

@captainsafia

Follow-up to #40491

- public sealed class RouteHandlerInvocationContext
+ public class RouteHandlerInvocationContext
{
-  public HttpContext HttpContext { get; }
+ public virtual HttpContext HttpContext { get; }

- public List<object?> Parameters { get; }
+ public virtual List<object?> Parameters { get; }

+ public virtual T GetParameter<T>(int index) { }
}

Metadata

Metadata

Assignees

Labels

api-approvedAPI was approved in API review, it can be implementedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcarea-perfPerformance infrastructure issuesfeature-minimal-actionsController-like actions for endpoint routingold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions