FallbackIfEmptyExtension Class

FallbackIfEmpty extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.1.0+0e154ef592f33ce0f6f3d534a9eedee273f0ce72
C#
public static class FallbackIfEmptyExtension
Inheritance
Object    FallbackIfEmptyExtension

Methods

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