[This is preliminary documentation and is subject to change.]
Adds a single record with an integer weight and signals that the InputCollectionTRecord is complete.
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 void OnCompleted<TRecord>( this InputCollection<TRecord> input, Weighted<TRecord> value ) where TRecord : Object, IEquatable<TRecord>
Parameters
- input
- Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowInputCollectionTRecord
The input. - value
- Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowWeightedTRecord
The record.
Type Parameters
- TRecord
- The type of the record.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type InputCollectionTRecord. 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