DefaultEndpointFilterInvocationContext Class

Definition

Provides a default implementation for wrapping the HttpContext and parameters provided to a route handler.

public sealed class DefaultEndpointFilterInvocationContext : Microsoft.AspNetCore.Http.EndpointFilterInvocationContext
type DefaultEndpointFilterInvocationContext = class
    inherit EndpointFilterInvocationContext
Public NotInheritable Class DefaultEndpointFilterInvocationContext
Inherits EndpointFilterInvocationContext
Inheritance
DefaultEndpointFilterInvocationContext

Constructors

DefaultEndpointFilterInvocationContext(HttpContext, Object[])

Creates a new instance of the DefaultEndpointFilterInvocationContext for a given request.

Properties

Arguments

A list of arguments provided in the current request to the filter. This list is not read-only to permit modifying of existing arguments by filters.

HttpContext

The HttpContext associated with the current request being processed by the filter.

Methods

GetArgument<T>(Int32)

Retrieve the argument given its position in the argument list.

Applies to