FallbackIfEmptyExtension Class

FallbackIfEmpty extension.

Definition

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