This assembly contains a number of extensions on IEnumerable. The package is available on NuGet as Widec.Extensions.Enumerable. All extensions follow the deffered execution logic of IEnumerable. The following explains the basic usage of the extensions.
The following extensions are available
Extension | Description |
---|---|
UnSplit | The reverse of the Split method on String. |
Crudonize | Compares two IEnumerable instances based on a compare method and invokes create, update and delete actions. |
Padding | Pads an IEnumerable left or right with items. |
Sequence | Sequence the items in an IEnumerable |
Buffer | Takes an IEnumerable and breaks it down into an IEnumerable<IEnumerable> of specified size. |
Median | Takes the median of the IEnumerable |
ExceptWith | Filters an IEnumerable with another IEnumerable |
ToUpper | Executes a ToUpper on an IEnumerable |
ToLower | Executes a ToLower on an IEnumerable |
Shuffle | Shuffles an IEnumerable |