public static BlockInfo ConnectTo(this BlockInfo node, [NotNull] NodeInfo to) { node.PointsTo = to.NotNull(); return(node); }
public static TActivity ConnectTo <TActivity>(this TActivity node, [NotNull] NodeInfo to) where TActivity : ActivityLikeNodeInfo { node.PointsTo = to.NotNull(); return(node); }