Pear<T>
ReferencesThis class is the generic implementation of the IPear interface.
Type parameters:
| T |
Properties
Methods
Create
#Create a pear from a value and metadata. If the value is null, a null pear will be returned.
Parameters:
| item (T) | |
| meta (MetaData) |
Create
#Create a pear from a value. If the value is null, a null pear will be returned.
Parameters:
| item (T) |
Iterate
#Iterate over a collection of items and a collection of meta data.
Parameters:
| items (IEnumerable<T>) | Items to iterate over. |
| metaData (IEnumerable<MetaData>) | Matching collection of meta data. |
Returns: Pear iterator.
Iterate
#Iterate over a collection and wrap each one in a pear.
Parameters:
| items (IEnumerable<T>) | Items to iterate over. |
Returns: Pear iterator.