ExtensionMethodsAsCollectionTRecord, TTime Method Naiad Help

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

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

C#
public static Collection<TRecord, TTime> AsCollection<TRecord, TTime>(
	this Stream<Weighted<TRecord>, TTime> stream,
	bool immutable
)
where TRecord : Object, IEquatable<TRecord>
where TTime : Object, Time<TTime>

Parameters

stream
Type: Microsoft.Research.NaiadStreamWeightedTRecord, TTime
The input stream.
immutable
Type: SystemBoolean
true
if and only if the stream is immutable.

Type Parameters

TRecord
The type of the input records.
TTime
The type of timestamp on each record.

Return Value

Type: CollectionTRecord, TTime
A CollectionTRecord, TTime based on the given stream of weighted records.

Usage Note

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