FillForwardExtension Class

FillForward extension.

Definition

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

Methods

FillForwardT(IEnumerableT) Returns a sequence with each null reference or value in the source replaced with the previous non-null reference or value seen in that sequence.
FillForwardT(IEnumerableT, FuncT, Boolean) Returns a sequence with each missing element in the source replaced with the previous non-missing element seen in that sequence. An additional parameter specifies a function used to determine if an element is considered missing or not.
FillForwardT(IEnumerableT, FuncT, Boolean, FuncT, T, T) Returns a sequence with each missing element in the source replaced with one based on the previous non-missing element seen in that sequence. Additional parameters specify two functions, one used to determine if an element is considered missing or not and another to provide the replacement for the missing element.

See Also