示例#1
0
        public TreeNodeSetIsMarkedCommand CreateTreeNodeSetIsMarkedCommand(TreeNode treeNode, bool isMarked)
        {
            TreeNodeSetIsMarkedCommand command = Create <TreeNodeSetIsMarkedCommand>();

            command.Init(treeNode, isMarked);
            return(command);
        }
示例#2
0
        public override bool ValueEquals(WithPresentation other)
        {
            if (!base.ValueEquals(other))
            {
                return(false);
            }

            TreeNodeSetIsMarkedCommand otherz = other as TreeNodeSetIsMarkedCommand;

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

            // TODO: test local equality

            return(true);
        }