点击或拖拽改变大小

SharpListT

一个高效的数组管理类,用于高效控制固定长度的数组实现
An efficient array management class for efficient control of fixed-length array implementations
继承层次
SystemObject
  HslCommunication.BasicFrameworkSharpListT

命名空间:  HslCommunication.BasicFramework
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public class SharpList<T>

类型参数

T
泛型类型

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
Top
属性
  名称说明
公共属性Count
获取数组设定时候的固定数量
Gets the fixed number of arrays when they are set
公共属性Item
获取或设置指定索引的位置的数据
Gets or sets the data at the specified index
Top
方法
  名称说明
公共方法Add(IEnumerableT)
将一个可以遍历的数据集合一次性批量的添加到当前的数据缓存中
Adds a traversable data set to the current data cache in one batch
公共方法Add(T)
新增一个数据值
Add a data value
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
公共方法LastValue
获取最后一个值,如果从来没有添加过,则引发异常
Gets the last value and throws an exception if it has never been added
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ToArray
获取数据的浅拷贝数组对象
Get array value of data
公共方法ToString (重写 ObjectToString.)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见