class Route
cangjie
@Annotation[target: [Type]]
public class Route <: IRouteTemplateProvider功能:为控制器提供路由模板。
父类型:
成员概览
| 成员 | 功能 |
|---|---|
| init(String) | 使用指定模板创建路由注解实例。 |
| prop template | 返回路由模板。 |
init(String)
cangjie
public const init(template: String)功能:使用指定模板创建路由注解实例。
参数:
- template:
String- 要应用的路由模板。
prop template
cangjie
public prop template: ?String功能:返回路由模板。
类型:?String