SharpListT 类 |
命名空间: HslCommunication.BasicFramework
SharpListT 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | SharpListT |
实例化一个对象,需要指定数组的最大长度信息,以及是否从最后一个添加,之前的值为类型默认值 To instantiate an object, you need to specify the maximum length of the array and whether to add it from the last value before the type default |
名称 | 说明 | |
---|---|---|
![]() | Count |
获取数组设定时候的固定数量 Gets the fixed number of arrays when they are set |
![]() | Item |
获取或设置指定索引的位置的数据 Gets or sets the data at the specified index |
名称 | 说明 | |
---|---|---|
![]() | Add(IEnumerableT) |
将一个可以遍历的数据集合一次性批量的添加到当前的数据缓存中 Adds a traversable data set to the current data cache in one batch |
![]() | Add(T) |
新增一个数据值 Add a data value |
![]() | Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
![]() | GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() | GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() | LastValue |
获取最后一个值,如果从来没有添加过,则引发异常 Gets the last value and throws an exception if it has never been added |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
![]() | ToArray |
获取数据的浅拷贝数组对象 Get array value of data |
![]() | ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |