Exemple #1
0
        public TreeNodeInsertCommand CreateTreeNodeInsertCommand(TreeNode treeNode, TreeNode parent, int position)
        {
            TreeNodeInsertCommand command = Create <TreeNodeInsertCommand>();

            command.Init(treeNode, parent, position);
            return(command);
        }
        public override bool ValueEquals(WithPresentation other)
        {
            if (!base.ValueEquals(other))
            {
                return(false);
            }

            TreeNodeInsertCommand otherz = other as TreeNodeInsertCommand;

            if (otherz == null)
            {
                return(false);
            }

            // TODO: test local equality

            return(true);
        }