Click or drag to resize

FallbackIfEmptyExtension Class

FallbackIfEmpty extension.
Inheritance Hierarchy
SystemObject
  MoreLinq.ExtensionsFallbackIfEmptyExtension

Namespace:  MoreLinq.Extensions
Assembly:  MoreLinq (in MoreLinq.dll) Version: 3.0.0
Syntax
public static class FallbackIfEmptyExtension
Methods
  NameDescription
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, IEnumerableT)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Public methodStatic memberCode exampleFallbackIfEmptyT(IEnumerableT, T)
Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence from an array of values.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T, T, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T, T, T, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Top
See Also