ControllerActionDescriptor 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
控制器動作的描述項。
public ref class ControllerActionDescriptor : Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor
C#
public class ControllerActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor
type ControllerActionDescriptor = class
inherit ActionDescriptor
Public Class ControllerActionDescriptor
Inherits ActionDescriptor
- 繼承
Controller |
控制器動作的描述項。 |
Action |
此動作的條件約束集。 必須全部滿足,才能選取動作。 (繼承來源 ActionDescriptor) |
Action |
動作的名稱。 |
Attribute |
取得或設定 AttributeRouteInfo。 (繼承來源 ActionDescriptor) |
Bound |
屬於模型系結的屬性集。 (繼承來源 ActionDescriptor) |
Controller |
控制器的名稱。 |
Controller |
TypeInfocontroller 的 。 |
Display |
此動作的易記名稱。 |
Endpoint |
取得或設定此動作的端點中繼資料。 此 API 適用于基礎結構,不應由應用程式程式碼使用。 (繼承來源 ActionDescriptor) |
Filter |
與此動作相關聯的篩選集。 (繼承來源 ActionDescriptor) |
Id |
取得可唯一識別動作的識別碼。 (繼承來源 ActionDescriptor) |
Method |
|
Parameters |
與此動作相關聯的參數集。 (繼承來源 ActionDescriptor) |
Properties |
儲存與 相關聯的 ActionDescriptor 任意中繼資料屬性。 (繼承來源 ActionDescriptor) |
Route |
取得或設定路由值的集合,這些值必須由路由提供,才能選取動作。 (繼承來源 ActionDescriptor) |
Get |
使用 提供的 值做為索引鍵, Properties 從集合取得屬性的值 |
Set |
使用 提供的 值做為索引鍵, Properties 設定集合中屬性的值 |
產品 | 版本 |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |