示例#1
0
        public static bool IsTaskRouterNode(this GraphNode <Key, FormNode> node, out TaskRouterFormNode taskRouterFormNode)
        {
            taskRouterFormNode = null;
            if (!GraphNodePredicates.IsTaskRouterNode(node))
            {
                return(false);
            }

            taskRouterFormNode = (TaskRouterFormNode)node.Value;
            return(true);
        }
示例#2
0
 public static bool IsTaskRouterNode(this GraphNode <Key, FormNode> node) =>
 GraphNodePredicates.IsTaskRouterNode(node);