Exemplo n.º 1
0
        private void OnEnter(object parameter)
        {
            PathPointNode node = parameter as PathPointNode;

            if (node != null)
            {
                Parent.EnterSequence(this, node);
            }
        }
Exemplo n.º 2
0
        private void OnEnter(object parameter)
        {
            PathPointNode node = parameter as PathPointNode;

            if (node != null)
            {
                if (node.DirectionType == PathPointNode.TypeDirection.IN)
                {
                    Input = node;
                }
                else if (node.DirectionType == PathPointNode.TypeDirection.OUT)
                {
                    Output = node;
                }

                Parent.EnterSequence(ModuleViewModle, node);
            }
        }