HslMqttApiAttribute 类 |
命名空间: HslCommunication.Reflection
HslMqttApiAttribute 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | HslMqttApiAttribute |
实例化一个默认的对象 Instantiate a default object |
![]() | HslMqttApiAttribute(String) |
指定描述内容来实例化一个的对象 Specify the description content to instantiate an object |
![]() | HslMqttApiAttribute(String, String) |
指定接口的路由信息及描述内容来实例化一个的对象 Specify the routing information and description content of the interface to instantiate an object |
名称 | 说明 | |
---|---|---|
![]() | 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 | (继承自 Attribute。) |
名称 | 说明 | |
---|---|---|
![]() | Equals | (继承自 Attribute。) |
![]() | Finalize | (继承自 Object。) |
![]() | GetHashCode | (继承自 Attribute。) |
![]() | GetType | (继承自 Object。) |
![]() | IsDefaultAttribute | (继承自 Attribute。) |
![]() | Match | (继承自 Attribute。) |
![]() | MemberwiseClone | (继承自 Object。) |
![]() | ToString | (继承自 Object。) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |