Exemple #1
0
 public static IActivityBranchBuilder Repeat(this IActivityBranchBuilder builder, string name, Func <State, bool> decisor)
 {
     return(builder.Activity(activity => activity.Repeat(name, RepeatDecision.New(decisor))));
 }
Exemple #2
0
 public static IActivityFactorableBuilder Repeat(this IActivityBuilder builder, string name, Func <State, bool> decisor)
 {
     return(builder.Proxy(new RepeatActivity(name, RepeatDecision.New(decisor))));
 }