Share via


ReflectedAsyncControllerDescriptor 类

定义

封装描述异步控制器的信息,如控制器的名称、类型和操作。

public class ReflectedAsyncControllerDescriptor : System.Web.Mvc.ControllerDescriptor
type ReflectedAsyncControllerDescriptor = class
    inherit ControllerDescriptor
Public Class ReflectedAsyncControllerDescriptor
Inherits ControllerDescriptor
继承
ReflectedAsyncControllerDescriptor

构造函数

ReflectedAsyncControllerDescriptor(Type)

初始化 ReflectedAsyncControllerDescriptor 类的新实例。

属性

ControllerName

获取控制器的名称。

(继承自 ControllerDescriptor)
ControllerType

获取控制器的类型。

UniqueId

在派生类中实现时,通过使用延迟初始化来获取控制器描述符的唯一 ID。

(继承自 ControllerDescriptor)

方法

FindAction(ControllerContext, String)

使用指定的名称和控制器上下文来查找操作方法。

GetCanonicalActions()

返回控制器中的操作方法描述符的列表。

GetCustomAttributes(Boolean)

返回为此成员定义的自定义特性,指定的特性除外。

GetCustomAttributes(Type, Boolean)

返回为此成员定义的指定类型的自定义特性(指定的特性除外)。

GetFilterAttributes(Boolean)

获取筛选器特性。

IsDefined(Type, Boolean)

返回一个值,该值指示是否为此成员定义指定的自定义特性的一个或多个实例。

适用于