public override bool ValueEquals(WithPresentation other) { if (!base.ValueEquals(other)) { return(false); } MetadataRemoveCommand otherz = other as MetadataRemoveCommand; if (otherz == null) { return(false); } // TODO: test local equality return(true); }