public static TActivity ConnectCancellationTo <TActivity>(this TActivity node, [NotNull] ActivityInfo to) where TActivity : ActivityLikeNodeInfo { node.CancellationHandler = to.NotNull(); return(node); }
public void Visit(ActivityInfo node) { ConnectNode(node); }
public static TActivity ConnectFaultTo <TActivity>(this TActivity node, [NotNull] ActivityInfo to) where TActivity : ActivityLikeNodeInfo { node.FaultHandler = to.NotNull(); return(node); }