◆ ToArray< TSource, TTarget >()
static TTarget [] Semi.ListConverter.ToArray< TSource, TTarget > |
( |
IList< TSource > |
list, |
|
|
ProxyList< TSource, TTarget >.RevertOperation |
op |
|
) |
| |
|
inlinestatic |
Converts a list of one type into an array of another type based on delegates.
- Returns
- The converted array.
- Parameters
-
list | The source list to convert. |
op | The operation to perform on each element in order to convert it into the target type.. |
- Template Parameters
-
TSource | The source type. |
TTarget | The target type. |
◆ ToArrayProxyList< TSource, TTarget >()
static ProxyList<TSource, TTarget> Semi.ListConverter.ToArrayProxyList< TSource, TTarget > |
( |
IList< TSource > |
list, |
|
|
ProxyList< TSource, TTarget >.ConvertOperation |
cop, |
|
|
ProxyList< TSource, TTarget >.RevertOperation |
rop |
|
) |
| |
|
inlinestatic |
Converts a list of one type into a Semi.ProxyList`2 providing a proxy of the same type into an array of a target type.
- Returns
- The
ProxyList
backed by the converted array.
- Parameters
-
list | The source list to convert. |
cop | Convert (source to target) operation for the ProxyList . |
rop | Revert (target to source) operation for the ProxyList . |
- Template Parameters
-
TSource | The source type. |
TTarget | The target type. |
The documentation for this class was generated from the following file:
- Semi/src/Semi/ProxyList.cs