internal override Hashtable ToHashtable() { Hashtable hashtables = new Hashtable(); if (this.ClassName != this.ClassName_DefaultValue) { hashtables.Add("className", this.ClassName); } if (this.Color != this.Color_DefaultValue) { hashtables.Add("color", this.Color); } if (this.DashStyle != this.DashStyle_DefaultValue) { XAxisPlotLinesDashStyle dashStyle = this.DashStyle; hashtables.Add("dashStyle", Highcharts.FirstCharacterToLower(dashStyle.ToString())); } if (this.Events != this.Events_DefaultValue) { hashtables.Add("events", this.Events); } if (this.Id != this.Id_DefaultValue) { hashtables.Add("id", this.Id); } if (this.Label.IsDirty()) { hashtables.Add("label", this.Label.ToHashtable()); } double?value = this.Value; double?valueDefaultValue = this.Value_DefaultValue; if ((value.GetValueOrDefault() == valueDefaultValue.GetValueOrDefault() ? value.HasValue != valueDefaultValue.HasValue : true)) { hashtables.Add("value", this.Value); } valueDefaultValue = this.Width; value = this.Width_DefaultValue; if ((valueDefaultValue.GetValueOrDefault() == value.GetValueOrDefault() ? valueDefaultValue.HasValue != value.HasValue : true)) { hashtables.Add("width", this.Width); } value = this.ZIndex; valueDefaultValue = this.ZIndex_DefaultValue; if ((value.GetValueOrDefault() == valueDefaultValue.GetValueOrDefault() ? value.HasValue != valueDefaultValue.HasValue : true)) { hashtables.Add("zIndex", this.ZIndex); } return(hashtables); }
public XAxisPlotLines() { string str = ""; string str1 = str; this.ClassName_DefaultValue = str; this.ClassName = str1; object obj = null; str1 = (string)obj; this.Color_DefaultValue = (string)obj; this.Color = str1; int num = 0; XAxisPlotLinesDashStyle xAxisPlotLinesDashStyle = (XAxisPlotLinesDashStyle)num; this.DashStyle_DefaultValue = (XAxisPlotLinesDashStyle)num; this.DashStyle = xAxisPlotLinesDashStyle; object obj1 = null; object obj2 = obj1; this.Events_DefaultValue = obj1; this.Events = obj2; object obj3 = null; str1 = (string)obj3; this.Id_DefaultValue = (string)obj3; this.Id = str1; XAxisPlotLinesLabel xAxisPlotLinesLabel = new XAxisPlotLinesLabel(); XAxisPlotLinesLabel xAxisPlotLinesLabel1 = xAxisPlotLinesLabel; this.Label_DefaultValue = xAxisPlotLinesLabel; this.Label = xAxisPlotLinesLabel1; double?nullable = null; this.Value_DefaultValue = nullable; this.Value = nullable; nullable = null; this.Width_DefaultValue = nullable; this.Width = nullable; nullable = null; this.ZIndex_DefaultValue = nullable; this.ZIndex = nullable; }