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