public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } ChartSpecification other = (ChartSpecification)obj; if (ReferenceEquals(name, null)) { if (!ReferenceEquals(other.name, null)) { return(false); } } else if (!name.Equals(other.name)) { return(false); } if (postProcessChartItemSpecifications == null) { if (other.postProcessChartItemSpecifications != null) { return(false); } } else if (!postProcessChartItemSpecifications.Equals(other.postProcessChartItemSpecifications)) { return(false); } if (preProcessChartItemSpecifications == null) { if (other.preProcessChartItemSpecifications != null) { return(false); } } else if (!preProcessChartItemSpecifications.Equals(other.preProcessChartItemSpecifications)) { return(false); } if (processChartItemSpecifications == null) { if (other.processChartItemSpecifications != null) { return(false); } } else if (!processChartItemSpecifications.Equals(other.processChartItemSpecifications)) { return(false); } return(true); }
public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } FlowChartInstance other = (FlowChartInstance)obj; if (optionContainerIndex != other.optionContainerIndex) { return(false); } if (ReferenceEquals(name, null)) { if (!ReferenceEquals(other.name, null)) { return(false); } } else if (!name.Equals(other.name)) { return(false); } if (chartSpecification == null) { if (other.chartSpecification != null) { return(false); } } else if (!chartSpecification.Equals(other.chartSpecification)) { return(false); } // if (dataFormatInstances == null) { // if (other.dataFormatInstances != null) // return false; // } else if (!dataFormatInstances.equals(other.dataFormatInstances)) // return false; // if (dataFormatManager == null) { // if (other.dataFormatManager != null) // return false; // } else if (!dataFormatManager.equals(other.dataFormatManager)) // return false; if (flowChartRegistry == null) { if (other.flowChartRegistry != null) { return(false); } } else if (!flowChartRegistry.Equals(other.flowChartRegistry)) { return(false); } if (postProcessChartItems == null) { if (other.postProcessChartItems != null) { return(false); } } else if (!postProcessChartItems.Equals(other.postProcessChartItems)) { return(false); } if (preProcessChartItems == null) { if (other.preProcessChartItems != null) { return(false); } } else if (!preProcessChartItems.Equals(other.preProcessChartItems)) { return(false); } if (processChartItems == null) { if (other.processChartItems != null) { return(false); } } else if (!processChartItems.Equals(other.processChartItems)) { return(false); } // if (symbolTables == null) { // if (other.symbolTables != null) // return false; // } else if (!symbolTables.equals(other.symbolTables)) // return false; return(true); }