DefaultEndpointFilterInvocationContext Klasse

Definition

Stellt eine Standardimplementierung zum Umschließen der HttpContext bereitgestellten Parameter und für einen Routenhandler bereit.

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

Konstruktoren

DefaultEndpointFilterInvocationContext(HttpContext, Object[])

Erstellt eine neue instance der DefaultEndpointFilterInvocationContext für eine bestimmte Anforderung.

Eigenschaften

Arguments

Eine Liste der Argumente, die in der aktuellen Anforderung für den Filter bereitgestellt werden. Diese Liste ist nicht schreibgeschützt, um das Ändern vorhandener Argumente durch Filter zuzulassen.

HttpContext

Die HttpContext , die der aktuellen Anforderung zugeordnet ist, die vom Filter verarbeitet wird.

Methoden

GetArgument<T>(Int32)

Rufen Sie das Argument aufgrund seiner Position in der Argumentliste ab.

Gilt für: