public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { AxisLabelStyle s = null != o ? (AxisLabelStyle)o : new AxisLabelStyle(info); s._font = (FontX)info.GetValue("Font", s); s._brush = (BrushX)info.GetValue("Brush", s); s._backgroundStyle = (IBackgroundStyle)info.GetValue("Background", s); s._automaticRotationShift = info.GetBoolean("AutoAlignment"); s._horizontalAlignment = (StringAlignment)info.GetEnum("HorzAlignment", typeof(StringAlignment)); s._verticalAlignment = (StringAlignment)info.GetEnum("VertAlignment", typeof(StringAlignment)); s._rotation = info.GetDouble("Rotation"); s._xOffset = info.GetDouble("XOffset"); s._yOffset = info.GetDouble("YOffset"); s._labelFormatting = (ILabelFormatting)info.GetValue("LabelFormat", s); s._labelFormatting.ParentObject = s; s._suppressedLabels = new SuppressedTicks() { ParentObject = s }; // Modification of StringFormat is necessary to avoid // too big spaces between successive words s._stringFormat = (StringFormat)StringFormat.GenericTypographic.Clone(); s._stringFormat.FormatFlags |= StringFormatFlags.MeasureTrailingSpaces; return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { DensityImagePlotStyle s = null != o ? (DensityImagePlotStyle)o : new DensityImagePlotStyle(); var scalingStyle = (ScalingStyle)info.GetEnum("ScalingStyle", typeof(ScalingStyle)); var vRangeFrom = info.GetDouble("RangeFrom"); var vRangeTo = info.GetDouble("RangeTo"); s._clipToLayer = info.GetBoolean("ClipToLayer"); var colorBelow = (NamedColor)info.GetValue("ColorBelow", s); var colorAbove = (NamedColor)info.GetValue("ColorAbove", s); var colorInvalid = (NamedColor)info.GetValue("ColorInvalid", s); var colorProvider = ColorProviderBGMYR.NewFromColorBelowAboveInvalidAndTransparency(colorBelow, colorAbove, colorInvalid, 0); var scale = scalingStyle == ScalingStyle.Logarithmic ? new Log10Scale() : (NumericalScale) new LinearScale(); scale.Rescaling.SetUserParameters( double.IsNaN(vRangeFrom) ? Altaxo.Graph.Scales.Rescaling.BoundaryRescaling.Auto : Altaxo.Graph.Scales.Rescaling.BoundaryRescaling.Fixed, vRangeFrom, double.IsNaN(vRangeTo) ? Altaxo.Graph.Scales.Rescaling.BoundaryRescaling.Auto : Altaxo.Graph.Scales.Rescaling.BoundaryRescaling.Fixed, vRangeTo); s.Scale = scale; s.ColorProvider = colorProvider; return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = null != o ? (TextDocumentViewOptions)o : new TextDocumentViewOptions(info); var pathToDocument = (AbsoluteDocumentPath)info.GetValue("Document", s); s.WindowConfiguration = (ViewerConfiguration)info.GetEnum("WindowConfiguration", typeof(ViewerConfiguration)); s.IsViewerSelected = info.GetBoolean("IsViewerSelected"); s._fractionOfSourceEditorWindowVisible = info.GetDouble("FractionSourceEditor"); s.IsWordWrappingEnabled = info.GetNullableBoolean("IsWordWrappingEnabled"); s.IsLineNumberingEnabled = info.GetNullableBoolean("IsLineNumberingEnabled"); s.IsSpellCheckingEnabled = info.GetNullableBoolean("IsSpellCheckingEnabled"); s.IsFoldingEnabled = info.GetNullableBoolean("IsFoldingEnabled"); s.HighlightingStyle = info.GetString("HighlightingStyle"); if (info.CurrentElementName == "IsOutlineWindowVisible") { s.IsOutlineWindowVisible = info.GetNullableBoolean("IsOutlineWindowVisible"); s.OutlineWindowRelativeWidth = info.GetNullableDouble("OutlineWindowRelativeWidth"); } var surr = new XmlSerializationSurrogate0 { _deserializedInstance = s, _pathToDocument = pathToDocument, }; info.DeserializationFinished += new Altaxo.Serialization.Xml.XmlDeserializationCallbackEventHandler(surr.EhDeserializationFinished); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { BarWidthPositionGroupStyle s = null != o ? (BarWidthPositionGroupStyle)o : new BarWidthPositionGroupStyle(); s._isStepEnabled = info.GetBoolean("StepEnabled"); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { SymbolShapeStyleGroupStyle s = null != o ? (SymbolShapeStyleGroupStyle)o : new SymbolShapeStyleGroupStyle(); s._isStepEnabled = info.GetBoolean("StepEnabled"); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { bool rel = info.GetBoolean("IsRelative"); double val = info.GetDouble("Value"); return(new RADouble(val, rel)); }
protected virtual InverseTickSpacing SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { InverseTickSpacing s = null != o ? (InverseTickSpacing)o : new InverseTickSpacing(); s._orgGrace = info.GetDouble("MinGrace"); s._endGrace = info.GetDouble("MaxGrace"); s._snapOrgToTick = (BoundaryTickSnapping)info.GetEnum("SnapOrgToTick", typeof(BoundaryTickSnapping)); s._snapEndToTick = (BoundaryTickSnapping)info.GetEnum("SnapEndToTick", typeof(BoundaryTickSnapping)); s._targetNumberOfMajorTicks = info.GetInt32("TargetNumberOfMajorTicks"); s._targetNumberOfMinorTicks = info.GetInt32("TargetNumberOfMinorTicks"); s._userDefinedMajorSpan = info.GetNullableDouble("UserDefinedMajorSpan"); s._userDefinedMinorTicks = info.GetNullableInt32("UserDefinedMinorTicks"); s._transformationOffset = info.GetDouble("TransformationOffset"); s._transformationDivider = info.GetDouble("TransformationDivider"); s._transformationOperationIsMultiply = info.GetBoolean("TransformationIsMultiply"); s.ChildSetMember(ref s._suppressedMajorTicks, (SuppressedTicks)info.GetValue("SuppressedMajorTicks", s)); s.ChildSetMember(ref s._suppressedMinorTicks, (SuppressedTicks)info.GetValue("SuppressedMinorTicks", s)); s.ChildSetMember(ref s._additionalMajorTicks, (AdditionalTicks)info.GetValue("AdditionalMajorTicks", s)); s.ChildSetMember(ref s._additionalMinorTicks, (AdditionalTicks)info.GetValue("AdditionalMinorTicks", s)); if (s._suppressedMajorTicks == null) { s._suppressedMajorTicks = new SuppressedTicks() { ParentObject = s } } ; if (s._suppressedMinorTicks == null) { s._suppressedMinorTicks = new SuppressedTicks() { ParentObject = s } } ; if (s._additionalMajorTicks == null) { s._additionalMajorTicks = new AdditionalTicks() { ParentObject = s } } ; if (s._additionalMinorTicks == null) { s._additionalMinorTicks = new AdditionalTicks() { ParentObject = s } } ; return(s); } }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { FitFunctionScript s = null != o ? (FitFunctionScript)o : new FitFunctionScript(); s._fitFunctionCategory = info.GetString("Category"); s._fitFunctionName = info.GetString("Name"); s._fitFunctionCreationTime = info.GetDateTime("CreationTime"); s._fitFunctionDescription = info.GetString("Description"); // deserialize the base class info.GetBaseValueEmbedded(s, typeof(AbstractScript), parent); s._NumberOfParameters = info.GetInt32("NumberOfParameters"); s._IsUsingUserDefinedParameterNames = info.GetBoolean("UserDefinedParameters"); if (s._IsUsingUserDefinedParameterNames) { info.GetArray("UserDefinedParameterNames", out s._UserDefinedParameterNames); } info.GetArray("IndependentVariableNames", out s._IndependentVariablesNames); info.GetArray("DependentVariableNames", out s._DependentVariablesNames); XmlSerializationSurrogate2 surr = new XmlSerializationSurrogate2(); surr._deserializedObject = s; info.DeserializationFinished += new Altaxo.Serialization.Xml.XmlDeserializationCallbackEventHandler(surr.info_DeserializationFinished); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = (BarSizePosition3DGroupStyle)o ?? new BarSizePosition3DGroupStyle(); s._isStepEnabled = info.GetBoolean("StepEnabled"); return(s); }
public static object SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent, bool nativeCall) { LabelPlotStyle s = null != o ? (LabelPlotStyle)o : new LabelPlotStyle(); s._font = (Font)info.GetValue("Font", s); s._independentColor = info.GetBoolean("IndependentColor"); s._brush = (BrushX)info.GetValue("Brush", s); s._xOffset = info.GetDouble("XOffset"); s._yOffset = info.GetDouble("YOffset"); s._rotation = info.GetDouble("Rotation"); s.HorizontalAlignment = (System.Drawing.StringAlignment)info.GetEnum("HorizontalAlignment", typeof(System.Drawing.StringAlignment)); s.VerticalAlignment = (System.Drawing.StringAlignment)info.GetEnum("VerticalAlignment", typeof(System.Drawing.StringAlignment)); s.AttachedAxis = (CSPlaneID)info.GetValue("AttachedAxis", s); s._backgroundStyle = (IBackgroundStyle)info.GetValue("Background", s); s._labelColumn = (Altaxo.Data.ReadableColumnProxy)info.GetValue("LabelColumn", parent); if (nativeCall) { // restore the cached values s.SetCachedValues(); s.CreateEventChain(); } return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { FitFunctionScript s = null != o ? (FitFunctionScript)o : new FitFunctionScript(); // deserialize the base class info.GetBaseValueEmbedded(s, typeof(AbstractScript), parent); s._fitFunctionCategory = info.GetString("Category"); s._fitFunctionName = info.GetString("Name"); s._fitFunctionCreationTime = info.GetDateTime("CreationTime"); s._NumberOfParameters = info.GetInt32("NumberOfParameters"); s._IsUsingUserDefinedParameterNames = info.GetBoolean("UserDefinedParameters"); if (s._IsUsingUserDefinedParameterNames) { info.GetArray("UserDefinedParameterNames", out s._UserDefinedParameterNames); } info.GetArray("IndependentVariableNames", out s._IndependentVariablesNames); info.GetArray("DependentVariableNames", out s._DependentVariablesNames); var surr = new XmlSerializationSurrogate1 { _deserializedObject = s }; info.DeserializationFinished += new Altaxo.Serialization.Xml.XmlDeserializationCallbackEventHandler(surr.info_DeserializationFinished); if (s._IsUsingUserDefinedParameterNames && s._NumberOfParameters != s._UserDefinedParameterNames.Length) { s.Compile(); // dirty quick fix in the case that the userdefined parameters where not updated before serialization } return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = o as WorkbenchState ?? new WorkbenchState(); s.Bounds = (RectangleD2D)info.GetValue("Bounds", null); s.IsMaximized = info.GetBoolean("IsMaximized"); return(s); }
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { KohlrauschDecay s = o != null ? (KohlrauschDecay)o : new KohlrauschDecay(); s.NumberOfRelaxations = info.GetInt32("NumberOfRelaxations"); s._logarithmizeResult = info.GetBoolean("LogarithmizeResult"); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var value = info.GetString("Value"); var ignoreCase = info.GetBoolean("IgnoreCase"); var columnProxy = (IReadableColumnProxy)info.GetValue("Column", parent); return(new IncludeTextContains(info, value, ignoreCase, columnProxy)); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = (NumericLabelFormattingScientific)o ?? new NumericLabelFormattingScientific(); info.GetBaseValueEmbedded(s, typeof(NumericLabelFormattingScientific).BaseType, parent); s._showExponentAlways = info.GetBoolean("ShowExponentAlways"); return(s); }
protected virtual DropLinePlotStyle SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { DropLinePlotStyle s = null != o ? (DropLinePlotStyle)o : new DropLinePlotStyle(info); s._independentSkipFrequency = info.GetBoolean("IndependentSkipFreq"); s._skipFrequency = info.GetInt32("SkipFreq"); s._ignoreMissingDataPoints = info.GetBoolean("IgnoreMissingDataPoints"); s._independentOnShiftingGroupStyles = info.GetBoolean("IndependentOnShiftingGroupStyles"); s._dropTargets = (CSPlaneIDList)info.GetValue("DropLine", s); s._additionalDropTargetIsEnabled = info.GetBoolean("HasAdditionalDropTarget"); if (s._additionalDropTargetIsEnabled) { s._additionalDropTargetPerpendicularAxis = info.GetInt32("AdditionalDropTargetAxis"); s._additionalDropTargetUsePhysicalBaseValue = info.GetBoolean("AdditionalDropTargetUsePhysicalValue"); s._additionalDropTargetBaseValue = (Altaxo.Data.AltaxoVariant)info.GetValue("AdditionalDropTargetBaseValue", s); } s.ChildSetMember(ref s._pen, (PenX)info.GetValue("Pen", s) ?? new PenX(NamedColors.Black, 1)); s._independentColor = info.GetBoolean("IndependentColor"); s._independentSymbolSize = info.GetBoolean("IndependentSymbolSize"); s._symbolSize = info.GetDouble("SymbolSize"); s._lineWidth1Offset = info.GetDouble("LineWidth1Offset"); s._lineWidth1Factor = info.GetDouble("LineWidth1Factor"); s._gapAtStartOffset = info.GetDouble("GapAtStartOffset"); s._gapAtStartFactor = info.GetDouble("GapAtStartFactor"); s._gapAtEndOffset = info.GetDouble("GapAtEndOffset"); s._gapAtEndFactor = info.GetDouble("GapAtEndFactor"); return(s); }
public override PlotGroupMemento SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { PlotGroupMemento s = base.SDeserialize(o, info, parent); s._concurrently = info.GetBoolean("Concurrently"); s._plotGroupStrictness = (PlotGroupStrictness)info.GetEnum("Strict", typeof(PlotGroupStrictness)); return(s); }
protected override XYPlotLayer SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { XYPlotLayer s = base.SDeserialize(o, info, parent); bool clipDataToFrame = info.GetBoolean("ClipDataToFrame"); s.ClipDataToFrame = clipDataToFrame ? LayerDataClipping.StrictToCS : LayerDataClipping.None; return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = (ImageGraphic)o; info.GetBaseValueEmbedded(s, typeof(ImageGraphic).BaseType, parent); s._isSizeCalculationBasedOnSourceSize = info.GetBoolean("SizeBasedOnSourceSize"); return(s); }
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var name = info.GetString("Name"); var parameter = info.GetDouble("Value"); var variance = info.GetDouble("Variance"); var vary = info.GetBoolean("Vary"); return(new ParameterSetElement(name, parameter, variance, vary)); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { AxisLineStyle s = null != o ? (AxisLineStyle)o : new AxisLineStyle(info); s._axisPen = (PenX)info.GetValue("AxisPen", s); s._majorTickPen = (PenX)info.GetValue("MajorPen", s); s._minorTickPen = (PenX)info.GetValue("MinorPen", s); s._majorTickLength = info.GetDouble("MajorLength"); s._minorTickLength = info.GetDouble("MinorLength"); s._axisPosition = (RADouble)info.GetValue("AxisPosition", s); s._showFirstUpMajorTicks = info.GetBoolean("Major1Up"); s._showFirstDownMajorTicks = info.GetBoolean("Major1Dw"); s._showFirstUpMinorTicks = info.GetBoolean("Minor1Up"); s._showFirstDownMinorTicks = info.GetBoolean("Minor1Dw"); return(s); }
protected virtual BarGraphPlotStyle SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { BarGraphPlotStyle s = null != o ? (BarGraphPlotStyle)o : new BarGraphPlotStyle(info); s._relInnerGapX = info.GetDouble("InnerGapWidth"); s._relOuterGapX = info.GetDouble("OuterGapWidth"); s._independentFillColor = info.GetBoolean("IndependentColor"); s.FillBrush = (BrushX)info.GetValue("FillBrush", s); s.FramePen = (PenX)info.GetValue("FramePen", s); s._usePhysicalBaseValue = info.GetBoolean("UsePhysicalBaseValue"); s._baseValue = (Altaxo.Data.AltaxoVariant)info.GetValue("BaseValue", s); s._startAtPreviousItem = info.GetBoolean("StartAtPrevious"); s._previousItemYGap = info.GetDouble("PreviousItemGap"); s._xSizeLogical = info.GetDouble("ActualWidth"); s._xOffsetLogical = info.GetDouble("ActualPosition"); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = null != o ? (ClipboardRenderingOptions)o : new ClipboardRenderingOptions(); info.GetBaseValueEmbedded(s, s.GetType().BaseType, parent); s._renderDropFile = info.GetBoolean("RenderDropFile"); if (s._renderDropFile) { s._renderDropFileImageFormat = (ImageFormat)info.GetValue("DropFileImageFormat", s); s._renderDropFileBitmapPixelFormat = (PixelFormat)info.GetEnum("DropFilePixelFormat", typeof(PixelFormat)); } s._renderEmbeddedObject = info.GetBoolean("RenderEmbeddedObject"); s._renderLinkedObject = info.GetBoolean("RenderLinkedObject"); return(s); }
protected virtual GridStyle SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { GridStyle s = null != o ? (GridStyle)o : new GridStyle(); s._showGrid = info.GetBoolean("Visible"); if (s._showGrid) { s._showZeroOnly = info.GetBoolean("ZeroOnly"); s._majorPen = (PenX)info.GetValue("MajorPen", s); s._showMinor = info.GetBoolean("ShowMinor"); if (s._showMinor) { s._minorPen = (PenX)info.GetValue("MinorPen", s); } } return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { BrushX s = null != o ? (BrushX)o : new BrushX(Color.Black); s._brushType = (BrushType)info.GetValue("Type", s); switch (s._brushType) { case BrushType.SolidBrush: s._foreColor = (Color)info.GetValue("ForeColor", s); break; case BrushType.HatchBrush: s._foreColor = (Color)info.GetValue("ForeColor", s); s._backColor = (Color)info.GetValue("BackColor", s); s._exchangeColors = info.GetBoolean("ExchangeColors"); s._hatchStyle = (HatchStyle)info.GetEnum("HatchStyle", typeof(HatchStyle)); break; case BrushType.LinearGradientBrush: s._foreColor = (Color)info.GetValue("ForeColor", s); s._backColor = (Color)info.GetValue("BackColor", s); s._exchangeColors = info.GetBoolean("ExchangeColors"); s._wrapMode = (WrapMode)info.GetEnum("WrapMode", typeof(WrapMode)); s._gradientMode = (LinearGradientMode)info.GetEnum("GradientMode", typeof(LinearGradientMode)); s._gradientShape = (LinearGradientShape)info.GetEnum("GradientShape", typeof(LinearGradientShape)); s._scale = info.GetSingle("Scale"); s._focus = info.GetSingle("Focus"); break; case BrushType.PathGradientBrush: s._foreColor = (Color)info.GetValue("ForeColor", s); s._backColor = (Color)info.GetValue("BackColor", s); s._exchangeColors = info.GetBoolean("ExchangeColors"); s._wrapMode = (WrapMode)info.GetEnum("WrapMode", typeof(WrapMode)); break; case BrushType.TextureBrush: s.TextureImage = (ImageProxy)info.GetValue("Texture", s); s._wrapMode = (WrapMode)info.GetEnum("WrapMode", typeof(WrapMode)); s._scale = info.GetSingle("Scale"); break; } return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { ScatterSymbolGroupStyle s = null != o ? (ScatterSymbolGroupStyle)o : new ScatterSymbolGroupStyle(); s._isStepEnabled = info.GetBoolean("StepEnabled"); s._listOfValues = ScatterSymbolListManager.Instance.OldSolid; s._value = s._listOfValues[0]; return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { DensityImagePlotStyle s = null != o ? (DensityImagePlotStyle)o : new DensityImagePlotStyle(); s._clipToLayer = info.GetBoolean("ClipToLayer"); s.Scale = (NumericalScale)info.GetValue("Scale", s); s.ColorProvider = (IColorProvider)info.GetValue("Colorization", s); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { ColorGroupStyle s = null != o ? (ColorGroupStyle)o : ColorGroupStyle.NewExternalGroupStyle(); s._isStepEnabled = info.GetBoolean("StepEnabled"); s._listOfValues = (Drawing.ColorManagement.IColorSet)info.GetValue("ColorSet", s); ColorSetManager.Instance.TryRegisterList(info, s._listOfValues, Main.ItemDefinitionLevel.Project, out s._listOfValues); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = (DirectionalLight)o ?? new DirectionalLight(info); s._isAffixedToCamera = info.GetBoolean("IsAffixedToCamera"); s._lightAmplitude = info.GetDouble("LightAmplitude"); s._color = (NamedColor)info.GetValue("Color", s); s._directionToLight = (VectorD3D)info.GetValue("DirectionToLight", s); return(s); }
protected virtual ConvertXYVToMatrixOptions SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { var s = o as ConvertXYVToMatrixOptions ?? new ConvertXYVToMatrixOptions(); s._outputAveraging = (OutputAveraging)info.GetEnum("Averaging", typeof(OutputAveraging)); s._outputNaming = (OutputNaming)info.GetEnum("ColumnNaming", typeof(OutputNaming)); s._outputColumnNameFormatString = info.GetString("ColumnNamingFormatting"); s._destinationXColumnSorting = (SortDirection)info.GetEnum("DestinationXColumnSorting", typeof(SortDirection)); s._useClusteringForX = info.GetBoolean("UseClusteringForX"); s._numberOfClustersX = info.GetNullableInt32("NumberOfClustersX"); s._createStdDevX = info.GetBoolean("CreateStdDevX"); s._destinationYColumnSorting = (SortDirection)info.GetEnum("DestinationYColumnSorting", typeof(SortDirection)); s._useClusteringForY = info.GetBoolean("UseClusteringForY"); s._numberOfClustersY = info.GetNullableInt32("NumberOfClustersY"); s._createStdDevY = info.GetBoolean("CreateStdDevY"); return(s); }