Exemplo n.º 1
0
 public static IFlowMutable <T> Build <T>(this IFlowPathBuilder <IFlowMutable <T> > builder)
 {
     return(new FlowVarPath <T>((IFlowBuilder)builder));
 }
Exemplo n.º 2
0
 public static IFlowSource <T> Build <T>(this IFlowPathBuilder <IFlowSource <T> > builder)
 {
     return(new FlowSourcePath <T>((IFlowBuilder)builder));
 }
Exemplo n.º 3
0
 public static IFlowPathBuilder <TNext> Path <TClass, TNext>(this IFlowPathBuilder <TClass> path, Func <TClass, TNext> transition)
     where TClass : class, IFlowChangeable
     where TNext : class, IFlowChangeable
 {
     return(new FlowBuilderBuilder <TNext>((IFlowBuilder)path, x => transition((TClass)x)));
 }
Exemplo n.º 4
0
 public static IFlowPathBuilder <TNext> Path <T, TNext>(this IFlowPathBuilder <IFlowSource <T> > builder, Func <T, TNext> transition)
     where TNext : class, IFlowChangeable
 {
     return(new FlowBuilderBuilder <TNext>((IFlowBuilder)builder, x => transition(((IFlowSource <T>)x).Value)));
 }
Exemplo n.º 5
0
 public static IFlowList <T> Build <T>(this IFlowPathBuilder <IFlowList <T> > builder)
 {
     return(new FlowListPath <T>((IFlowBuilder)builder));
 }