public override object PublishClone(AutomaticSubtotalContext context) { GaugeScale gaugeScale = (GaugeScale)base.PublishClone(context); if (this.m_action != null) { gaugeScale.m_action = (Action)this.m_action.PublishClone(context); } if (this.m_scaleRanges != null) { gaugeScale.m_scaleRanges = new List <ScaleRange>(this.m_scaleRanges.Count); foreach (ScaleRange scaleRange in this.m_scaleRanges) { gaugeScale.m_scaleRanges.Add((ScaleRange)scaleRange.PublishClone(context)); } } if (this.m_customLabels != null) { gaugeScale.m_customLabels = new List <CustomLabel>(this.m_customLabels.Count); foreach (CustomLabel customLabel in this.m_customLabels) { gaugeScale.m_customLabels.Add((CustomLabel)customLabel.PublishClone(context)); } } if (this.m_interval != null) { gaugeScale.m_interval = (ExpressionInfo)this.m_interval.PublishClone(context); } if (this.m_intervalOffset != null) { gaugeScale.m_intervalOffset = (ExpressionInfo)this.m_intervalOffset.PublishClone(context); } if (this.m_logarithmic != null) { gaugeScale.m_logarithmic = (ExpressionInfo)this.m_logarithmic.PublishClone(context); } if (this.m_logarithmicBase != null) { gaugeScale.m_logarithmicBase = (ExpressionInfo)this.m_logarithmicBase.PublishClone(context); } if (this.m_maximumValue != null) { gaugeScale.m_maximumValue = (GaugeInputValue)this.m_maximumValue.PublishClone(context); } if (this.m_minimumValue != null) { gaugeScale.m_minimumValue = (GaugeInputValue)this.m_minimumValue.PublishClone(context); } if (this.m_multiplier != null) { gaugeScale.m_multiplier = (ExpressionInfo)this.m_multiplier.PublishClone(context); } if (this.m_reversed != null) { gaugeScale.m_reversed = (ExpressionInfo)this.m_reversed.PublishClone(context); } if (this.m_gaugeMajorTickMarks != null) { gaugeScale.m_gaugeMajorTickMarks = (GaugeTickMarks)this.m_gaugeMajorTickMarks.PublishClone(context); } if (this.m_gaugeMinorTickMarks != null) { gaugeScale.m_gaugeMinorTickMarks = (GaugeTickMarks)this.m_gaugeMinorTickMarks.PublishClone(context); } if (this.m_maximumPin != null) { gaugeScale.m_maximumPin = (ScalePin)this.m_maximumPin.PublishClone(context); } if (this.m_minimumPin != null) { gaugeScale.m_minimumPin = (ScalePin)this.m_minimumPin.PublishClone(context); } if (this.m_scaleLabels != null) { gaugeScale.m_scaleLabels = (ScaleLabels)this.m_scaleLabels.PublishClone(context); } if (this.m_tickMarksOnTop != null) { gaugeScale.m_tickMarksOnTop = (ExpressionInfo)this.m_tickMarksOnTop.PublishClone(context); } if (this.m_toolTip != null) { gaugeScale.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context); } if (this.m_hidden != null) { gaugeScale.m_hidden = (ExpressionInfo)this.m_hidden.PublishClone(context); } if (this.m_width != null) { gaugeScale.m_width = (ExpressionInfo)this.m_width.PublishClone(context); } return(gaugeScale); }
public GaugeScale(AspNetCore.ReportingServices.ReportIntermediateFormat.GaugeScale defObject, GaugePanel gaugePanel) { this.m_defObject = defObject; this.m_gaugePanel = gaugePanel; }