DataSourceExtensionMethodsAsNaiadStreamTRecord Method (IEnumerableTRecord, Computation)Naiad Help

[This is preliminary documentation and is subject to change.]

Namespace: Microsoft.Research.Naiad.Input
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static Stream<TRecord, Epoch> AsNaiadStream<TRecord>(
	this IEnumerable<TRecord> source,
	Computation computation
)

Parameters

source
Type: System.Collections.GenericIEnumerableTRecord
input records
computation
Type: Microsoft.Research.NaiadComputation
graph manager

Type Parameters

TRecord
record type

Return Value

Type: StreamTRecord, Epoch
single epoch stream containing source records

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTRecord. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference