helper class object for make a safe vector element visiting
GetVectorElement
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | maybe a scalar value or a array vector |
| Getter | 1 | |
| Create | 1 | if the target input object xis nothing, then this function will returns an instance of GetVectorElement with wrap a null value |
| CreateAny | 1 | if the target input object xis nothing, then this function will returns an instance of GetVectorElement with wrap a null value |
| IsScalar | 1 | test the given obj is a single scalar value? |
| ToString | 1 | |
| CastTo | 1 | |
| Populate | 1 | |
| MakeSizeNotMatchedError | 1 | |
| Zip | 2 | |
| DoesSizeMatch | 1 | |
| Create | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| isNullOrEmpty | 1 | does the given input vector data is nothing or a clr array with zero elements inside? |
| item | 1 | get elements inside current vector with i index |
| Error | 1 | |
| elementType | 1 | |
| size | 1 | |
| Mode | 1 |
04 Fields
05 Members
Array, Type)maybe a scalar value or a array vector
| Name | Type | Description |
|---|---|---|
vec | Array | - |
Object, Type)| Name | Type | Description |
|---|---|---|
scalar | Object | this item should never be nothing? |
the lambda function accepts a zero-based index value for get element value from a clr vector Array object
Object)if the target input object xis nothing, then this function will returns an instance of GetVectorElement with wrap a null value
| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
x | Object | - |
Object)if the target input object xis nothing, then this function will returns an instance of GetVectorElement with wrap a null value
| Name | Type | Description |
|---|---|---|
x | Object | - |
Object)test the given obj is a single scalar value?
| Name | Type | Description |
|---|---|---|
obj | Object | - |
this function return true if the given obj is nothing orelse is primitive type
does the given input vector data is nothing or a clr array with zero elements inside?
Int32)get elements inside current vector with i index
| Name | Type | Description |
|---|---|---|
i | Int32 | zero-based vector element index value |
this property unify the array get element and scalar value getter
is a scalar value
is a vector data
method cache for get value by index for unify the GetVectorElement.single scalar and the GetVectorElement.vector array.
Func(Of Object, T))Func(Of Object, Object))A(), B(), C(), D())X(), Y())Object)