ภาษา

RouteAttributeHelper.GetDeclaredHandlerTypes(Type) Method

Definition

Returns all handler delegate Type values declared on a route attribute class via one or more RouteHandlerTypeAttribute applications. A method decorated with the attribute is valid if it matches any of them. Returns an empty array when none are declared.

public static Type[] GetDeclaredHandlerTypes(Type? attributeType);
static member GetDeclaredHandlerTypes : Type -> Type[]
Public Shared Function GetDeclaredHandlerTypes (attributeType As Type) As Type()

Parameters

attributeType
Type

The route attribute Type to inspect.

Returns

Type[]

Applies to