HslMqttApiAttribute 属性 |
HslMqttApiAttribute 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ApiTopic |
当前指定的ApiTopic信息,如果当前的方法接口不指定别名,那么就使用当前的方法名称 The currently specified ApiTopic information, if the current method interface does not specify an alias, then the current method name is used | |
Description |
当前方法的注释内容 The comment content of the current method | |
HttpMethod |
如果当前的API接口是支持Http的请求方式,当前属性有效,例如GET,POST If the current API interface is a request method that supports Http, the current attributes are valid, such as GET, POST | |
PropertyUnfold |
当前的属性是否需要展开API信息,默认不展开 Whether the current attribute needs to expand the API information, it is not expanded by default | |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (继承自 Attribute。) |