ExtensionMethodsUnaryExpressionTInput, TOutput, TTime Method Naiad Help

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

Constructs a stream from an input and a function to apply to collections on a time-by-time basis.

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

C#
public static Stream<TOutput, TTime> UnaryExpression<TInput, TOutput, TTime>(
	this Stream<TInput, TTime> stream,
	Expression<Func<TInput, int>> keyFunction,
	Expression<Func<IEnumerable<TInput>, IEnumerable<TOutput>>> transformation,
	string name
)
where TTime : Object, Time<TTime>

Parameters

stream
Type: Microsoft.Research.NaiadStreamTInput, TTime
input stream
keyFunction
Type: System.Linq.ExpressionsExpressionFuncTInput, Int32
partitioning requirement
transformation
Type: System.Linq.ExpressionsExpressionFuncIEnumerableTInput, IEnumerableTOutput
collection transformation
name
Type: SystemString
descriptive name

Type Parameters

TInput
Input type
TOutput
Output type
TTime
Time type

Return Value

Type: StreamTOutput, TTime
a new stream representing independent application of transformation to each time in the input stream

Usage Note

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