Esempio n. 1
0
 public static TActivity ConnectCancellationTo <TActivity>(this TActivity node, [NotNull] ActivityInfo to)
     where TActivity : ActivityLikeNodeInfo
 {
     node.CancellationHandler = to.NotNull();
     return(node);
 }
Esempio n. 2
0
 public ForkJoinInfo AddFork([NotNull] ActivityInfo fork)
 {
     Forks.Add(fork.NotNull());
     return(this);
 }
Esempio n. 3
0
 public static TActivity ConnectFaultTo <TActivity>(this TActivity node, [NotNull] ActivityInfo to)
     where TActivity : ActivityLikeNodeInfo
 {
     node.FaultHandler = to.NotNull();
     return(node);
 }