ExtensionMethodsAssumeImmutableTRecord, TTime Method Naiad Help

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

Indicates that the input collection is immutable.

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> AssumeImmutable<TRecord, TTime>(
	this Collection<TRecord, TTime> input
)
where TRecord : Object, IEquatable<TRecord>
where TTime : Object, Time<TTime>

Parameters

input
Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowCollectionTRecord, TTime
The input collection.

Type Parameters

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

Return Value

Type: CollectionTRecord, TTime
The input collection.

Usage Note

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

This operator supplies metadata for the given collection that allows downstream operators to optimize the data representation. If the input collection is not immutable, the behavior of downstream operators is undefined.
See Also

Reference