DataSourceExtensionMethodsAsNaiadStreamTRecord Method (IObservableIEnumerableTRecord, 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 IObservable<IEnumerable<TRecord>> source,
	Computation computation
)

Parameters

source
Type: SystemIObservableIEnumerableTRecord
input sequence of records
computation
Type: Microsoft.Research.NaiadComputation
graph manager

Type Parameters

TRecord
record type

Return Value

Type: StreamTRecord, Epoch
stream of records, each epoch defined by consecutive OnNext calls from the observable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservableIEnumerableTRecord. 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