public TreeNodeChangeTextCommand CreateTreeNodeChangeTextCommand(TreeNode treeNode, string text) { TreeNodeChangeTextCommand command = Create <TreeNodeChangeTextCommand>(); command.Init(treeNode, text); return(command); }
public override bool ValueEquals(WithPresentation other) { if (!base.ValueEquals(other)) { return(false); } TreeNodeChangeTextCommand otherz = other as TreeNodeChangeTextCommand; if (otherz == null) { return(false); } // TODO: test local equality return(true); }