public TreeNodeSetIsMarkedCommand CreateTreeNodeSetIsMarkedCommand(TreeNode treeNode, bool isMarked) { TreeNodeSetIsMarkedCommand command = Create <TreeNodeSetIsMarkedCommand>(); command.Init(treeNode, isMarked); return(command); }
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); }