Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Http.​EndpointFilterInvocationContext
Assembly: Microsoft.AspNetCore.Http.Abstractions
Inheritance: object → EndpointFilterInvocationContext
Provides an abstraction for wrapping the <see cref="P:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext.HttpContext" /> and arguments provided to a route handler.
Properties
public
HttpContext
HttpContext
The <see cref="P:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext.HttpContext" /> associated with the current request being processed by the filter.
public
System.​Collections.​Generic.​IList<​object>
Arguments
A list of arguments provided in the current request to the filter.
<remarks>
This list is not read-only to permit modifying of existing arguments by filters.
</remarks>
Methods
public
T
GetArgument​(int index)
Retrieve the argument given its position in the argument list.
Returns The argument at a given <paramref name="index" /> .
index
An integer representing the position of the argument in the argument list.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext)
Creates the default implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" /> .
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T arg)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2,
T3 arg3)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4,
T5 arg5)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4,
T5 arg5,
T6 arg6)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4,
T5 arg5,
T6 arg6,
T7 arg7)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public static
EndpointFilterInvocationContext
Create​(HttpContext httpContext,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4,
T5 arg5,
T6 arg6,
T7 arg7,
T8 arg8)
Creates a strongly-typed implementation of a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" />
given the provided type parameters.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object