Creates a sequence from a given enumerable.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public static ISequence<T> With<T>(
IEnumerable<T> items
)
public static ISequence<T> With<T>(
IEnumerable<T> items
)
Public Shared Function With(Of T) (
items As IEnumerable(Of T)
) As ISequence(Of T)
Public Shared Function With(Of T) (
items As IEnumerable(Of T)
) As ISequence(Of T)
public:
generic<typename T>
static ISequence<T>^ With(
IEnumerable<T>^ items
)
public:
generic<typename T>
static ISequence<T>^ With(
IEnumerable<T>^ items
)
static member With :
items : IEnumerable<'T> -> ISequence<'T>
static member With :
items : IEnumerable<'T> -> ISequence<'T>
Parameters
- items
- Type: System.Collections.Generic IEnumerable T
The enumerable to be evaluated.
Type Parameters - T
- The type of elements in the sequence.
Return Value
Type:
ISequence T A sequence created by lazily-evaluating
items.
See Also