Example #1
0
        public override void AddAvailableStates(ICollection <StateDescriptionNode> newNodes, StateDescriptionNode node)
        {
            if (this.TrueStateLink != null)
            {
                this.TrueStateLink.AddAvailableStates(newNodes, node);
            }
            else
            {
                newNodes.Add(node.AddNode(this.Name));
            }

            if (this.FalseStateLink != null)
            {
                this.FalseStateLink.AddAvailableStates(newNodes, node);
            }
        }
Example #2
0
 public override void AddAvailableStates(ICollection <StateDescriptionNode> newNodes, StateDescriptionNode node)
 {
     newNodes.Add(node.AddNode(this.Name));
 }