Method Enumerable
Enumerable<TItem>(IEnumerable<TItem>)
Creates an instance of an optional parameter with an enumerable value.
public static Optional<IEnumerable<TItem>> Enumerable<TItem>(IEnumerable<TItem> value)
Parameters
value
IEnumerable<TItem>The value.
Returns
- Optional<IEnumerable<TItem>>
An instance of an optional parameter with an enumerable value.
Type Parameters
TItem
The type of the items of the optional paramater.