Create an infinite sequence containing the given element expression (which is computed for each occurrence).
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public static ISequence<T> Continually<T>(
Func<T> elem
)
public static ISequence<T> Continually<T>(
Func<T> elem
)
Public Shared Function Continually(Of T) (
elem As Func(Of T)
) As ISequence(Of T)
Public Shared Function Continually(Of T) (
elem As Func(Of T)
) As ISequence(Of T)
public:
generic<typename T>
static ISequence<T>^ Continually(
Func<T>^ elem
)
public:
generic<typename T>
static ISequence<T>^ Continually(
Func<T>^ elem
)
static member Continually :
elem : Func<'T> -> ISequence<'T>
static member Continually :
elem : Func<'T> -> ISequence<'T>
Parameters
- elem
- Type: System Func T
A delegate that will be continuously evaluated.
Type Parameters - T
- The type of elements in the sequence.
Return Value
Type:
ISequence T A sequence containing an infinite number of elements returned by the
elem delegate.
See Also