FallbackIfEmptyExtension Class

FallbackIfEmpty extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.0.0+092a40d82a1b280568ffa006d9a210bdec0792cd
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