FallbackIfEmptyExtensionFallbackIfEmpty Method

Overload List

FallbackIfEmptyT(IEnumerableT, T) Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.
FallbackIfEmptyT(IEnumerableT, T) Returns the elements of a sequence, but if it is empty then returns an alternate sequence from an array of values.
FallbackIfEmptyT(IEnumerableT, IEnumerableT) Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
FallbackIfEmptyT(IEnumerableT, T, T) Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
FallbackIfEmptyT(IEnumerableT, T, T, T) Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
FallbackIfEmptyT(IEnumerableT, T, T, T, T) Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.

See Also