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); }
public static bool IsTaskRouterNode(this GraphNode <Key, FormNode> node) => GraphNodePredicates.IsTaskRouterNode(node);