[This is preliminary documentation and is subject to change.]
Creates a stage from a vertex factory
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 Stage<TVertex, TTime> NewStage<TVertex, TTime>( TimeContext<TTime> context, Func<int, Stage<TTime>, TVertex> factory, string name ) where TVertex : Vertex<TTime> where TTime : Object, Time<TTime>
Parameters
- context
- Type: Microsoft.Research.Naiad.DataflowTimeContextTTime
Time context - factory
- Type: SystemFuncInt32, StageTTime, TVertex
Vertex factory - name
- Type: SystemString
Descriptive name
Type Parameters
- TVertex
- Vertex type
- TTime
- Time type
Return Value
Type: StageTVertex, TTimeConstructed stage
See Also