IDirectRouteBuilder 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義建立動作直接路由的建置器 (屬性路由)。
public interface IDirectRouteBuilder
type IDirectRouteBuilder = interface
Public Interface IDirectRouteBuilder
屬性
| Actions |
取得建立路由的動作描述。 |
| Constraints |
取得或設定路由條件約束。 |
| DataTokens |
取得或設定路由資料語彙基元。 |
| Defaults |
取得或設定路由預設值。 |
| Name |
取得或設定路由名稱。 |
| Order |
取得或設定路由順序。 |
| Precedence |
取得或設定路由優先權。 |
| TargetIsAction |
取得一值,指出路由是否在動作或控制器層級設定。 |
| Template |
取得或設定路由範本。 |
方法
| Build() |
根據目前屬性值建立一個路由項目。 |