當前位置: 首頁>>代碼示例>>C#>>正文


C# Altaxo.GetNullableInt32方法代碼示例

本文整理匯總了C#中Altaxo.GetNullableInt32方法的典型用法代碼示例。如果您正苦於以下問題:C# Altaxo.GetNullableInt32方法的具體用法?C# Altaxo.GetNullableInt32怎麽用?C# Altaxo.GetNullableInt32使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Altaxo的用法示例。


在下文中一共展示了Altaxo.GetNullableInt32方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: SDeserialize

			protected virtual RealFourierTransformation2DOptions SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var s = (o == null ? new RealFourierTransformation2DOptions() : (RealFourierTransformation2DOptions)o);

				s._isUserDefinedRowIncrementValue = info.GetBoolean("IsUserDefinedRowIncrementValue");
				s._rowIncrementValue = info.GetDouble("RowIncrementValue");
				s._isUserDefinedColumnIncrementValue = info.GetBoolean("IsUserDefinedColumnIncrementValue");
				s._columnIncrementValue = info.GetDouble("ColumnIncrementValue");
				s._replacementValueForNaNMatrixElements = info.GetNullableDouble("ReplacementValueForNaNMatrixElements");
				s._replacementValueForInfiniteMatrixElements = info.GetNullableDouble("ReplacementValueForInfiniteMatrixElements");
				s._dataPretreatmentCorrectionOrder = info.GetNullableInt32("DataPretreatmentCorrectionOrder");
				s._fourierWindow = (Altaxo.Calc.Fourier.Windows.IWindows2D)info.GetValue("FourierWindow", s);

				s._kindOfOutputResult = (RealFourierTransformationOutputKind)info.GetEnum("KindOfOutputResult", typeof(RealFourierTransformationOutputKind));
				s._centerResult = info.GetBoolean("CenterResult");
				s._resultFractionOfRows = info.GetDouble("ResultFractionOfRows");
				s._resultFractionOfColumns = info.GetDouble("ResultFractionOfColumns");

				s._outputFrequencyHeaderColumns = info.GetBoolean("OutputFrequencyHeaderColumns");
				s._frequencyRowHeaderColumnName = info.GetString("FrequencyRowHeaderColumnName");
				s._frequencyColumnHeaderColumnName = info.GetString("FrequencyColumnHeaderColumnName");

				s._outputPeriodHeaderColumns = info.GetBoolean("OutputPeriodHeaderColumns");
				s._periodRowHeaderColumnName = info.GetString("PeriodRowHeaderColumnName");
				s._periodColumnHeaderColumnName = info.GetString("PeriodColumnHeaderColumnName");

				return s;
			}
開發者ID:Altaxo,項目名稱:Altaxo,代碼行數:28,代碼來源:RealFourierTransformation2DOptions.cs

示例2: SDeserialize

			protected virtual LinearTickSpacing SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				LinearTickSpacing s = null != o ? (LinearTickSpacing)o : new LinearTickSpacing();
				s._zeroLever = info.GetDouble("ZeroLever");
				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.SuppressedMajorTicks = (SuppressedTicks)info.GetValue("SuppressedMajorTicks", s);
				s.SuppressedMinorTicks = (SuppressedTicks)info.GetValue("SuppressedMinorTicks", s);
				s.AdditionalMajorTicks = (AdditionalTicks)info.GetValue("AdditionalMajorTicks", s);
				s.AdditionalMinorTicks = (AdditionalTicks)info.GetValue("AdditionalMinorTicks", s);

				return s;
			}
開發者ID:Altaxo,項目名稱:Altaxo,代碼行數:25,代碼來源:LinearTickSpacing.cs

示例3: SDeserialize

			protected virtual AsciiImportOptions SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var s = (o == null ? new AsciiImportOptions() : (AsciiImportOptions)o);

				s.RenameWorksheet = info.GetBoolean("RenameWorksheet");
				s.RenameColumns = info.GetBoolean("RenameColumns");
				s.IndexOfCaptionLine = info.GetNullableInt32("IndexOfCaptionLine");
				s.NumberOfMainHeaderLines = info.GetNullableInt32("NumberOfMainHeaderLines");
				s.HeaderLinesDestination = (AsciiHeaderLinesDestination)info.GetEnum("HeaderLinesDestination", typeof(AsciiHeaderLinesDestination));
				s.SeparationStrategy = (IAsciiSeparationStrategy)info.GetValue("SeparationStrategy", s);
				s.NumberFormatCulture = System.Globalization.CultureInfo.GetCultureInfo(info.GetInt32("NumberFormatCultureLCID"));
				s.DateTimeFormatCulture = System.Globalization.CultureInfo.GetCultureInfo(info.GetInt32("DateTimeFormatCultureLCID"));
				s.RecognizedStructure = (AsciiLineStructure)info.GetValue("AsciiLineStructure", s);
				s.ImportMultipleStreamsVertically = info.GetBoolean("ImportMultipleStreamsVertically");
				return s;
			}
開發者ID:Altaxo,項目名稱:Altaxo,代碼行數:16,代碼來源:AsciiImportOptions.cs

示例4: SDeserialize

			protected virtual Log10TickSpacing SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				Log10TickSpacing s = null != o ? (Log10TickSpacing)o : new Log10TickSpacing();

				s._oneLever = info.GetDouble("OneLever");
				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._userDefinedNumberOfDecadesPerMajorTick = info.GetNullableInt32("UserDefinedMajorDecades");
				s._userDefinedMinorTicks = info.GetNullableInt32("UserDefinedMinorTicks");

				s._transformationExponent = info.GetDouble("TransformationExponent");
				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;
			}
開發者ID:Altaxo,項目名稱:Altaxo,代碼行數:36,代碼來源:Log10TickSpacing.cs

示例5: SDeserialize

			protected virtual DataTableMultipleColumnProxy SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var s = (o == null ? new DataTableMultipleColumnProxy() : (DataTableMultipleColumnProxy)o);

				s.InternalSetDataTable((DataTableProxy)info.GetValue("Table", s));
				s._groupNumber = info.GetInt32("Group");

				s._useAllAvailableDataRows = info.GetBoolean("UseAllAvailableDataRows");

				int countBundles = info.OpenArray("DataColumnsBundles");
				for (int b = 0; b < countBundles; b++)
				{
					info.OpenElement();
					string identifier = info.GetString("Identifier");
					int? MaximumNumberOfColumns = info.GetNullableInt32("MaximumNumberOfColumns");

					var columnBundleInfo = new ColumnBundleInfo(MaximumNumberOfColumns);

					int countColumns = info.OpenArray();
					for (int i = 0; i < countColumns; i++)
					{
						s.InternalAddDataColumnNoClone(columnBundleInfo, (IReadableColumnProxy)info.GetValue("e", s));
					}
					info.CloseArray(countColumns);

					s._dataColumnBundles.Add(identifier, columnBundleInfo);

					info.CloseElement();
				}
				info.CloseArray(countBundles);

				if (!s._useAllAvailableDataRows)
				{
					s._participatingDataRows = (AscendingIntegerCollection)info.GetValue("DataRows", s);
				}
				else
				{
					s._participatingDataRows = new AscendingIntegerCollection();
				}

				s._isDirty = true;

				s._parent = parent as Main.IDocumentNode;
				return s;
			}
開發者ID:Altaxo,項目名稱:Altaxo,代碼行數:45,代碼來源:DataTableMultipleColumnProxy.cs


注:本文中的Altaxo.GetNullableInt32方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。