当前位置: 首页>>代码示例>>C#>>正文


C# Altaxo.AddValue方法代码示例

本文整理汇总了C#中Altaxo.AddValue方法的典型用法代码示例。如果您正苦于以下问题:C# Altaxo.AddValue方法的具体用法?C# Altaxo.AddValue怎么用?C# Altaxo.AddValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Altaxo的用法示例。


在下文中一共展示了Altaxo.AddValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				HavriliakNegamiModulusRelaxation s = (HavriliakNegamiModulusRelaxation)obj;
				info.AddValue("UseFrequency", s._useFrequencyInsteadOmega);
				info.AddValue("FlowTerm", s._useFlowTerm);
				info.AddValue("LogarithmizeResults", s._logarithmizeResults);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:HavriliakNegamiModulusRelaxation.cs

示例2: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				FiniteDateTimeBoundaries s = (FiniteDateTimeBoundaries)obj;
				info.AddValue("NumberOfItems", s._numberOfItems);
				info.AddValue("MinValue", s._minValue);
				info.AddValue("MaxValue", s._maxValue);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:FiniteDateTimeBoundaries.cs

示例3: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				AssemblyAndTypeSurrogate s = (AssemblyAndTypeSurrogate)obj;

				info.AddValue("AssemblyName", s._assemblyName);
				info.AddValue("TypeName", s._typeName);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:AssemblyAndTypeSurrogate.cs

示例4: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (OleDbDataQuery)obj;

				info.AddValue("Connection", s._connectionString.OriginalConnectionString);
				info.AddValue("Statement", s._selectionStatement);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:OleDbDataQuery.cs

示例5: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (PenX3D)obj;

				info.AddValue("Material", s._material);
				info.AddValue("CrossSection", s._crossSection);

				info.AddEnum("LineJoin", s._lineJoin);
				info.AddValue("MiterLimit", s._miterLimit);

				if (null != s._lineStartCap)
					info.AddValue("LineStartCap", s._lineStartCap);

				if (null != s._lineEndCap)
					info.AddValue("LineEndCap", s._lineEndCap);

				if (null != s._dashPattern && !DashPatterns.Solid.Instance.Equals(s._dashPattern))
				{
					info.AddValue("DashPattern", s._dashPattern);

					if (null != s._dashStartCap)
					{
						info.AddValue("DashStartCap", s._dashStartCap);
						info.AddValue("DashStartCapSuppression", s._dashStartCapSuppressionIfSpaceInsufficient);
					}
					if (null != s._dashEndCap)
					{
						info.AddValue("DashEndCap", s._dashEndCap);
						info.AddValue("DashEndCapSuppression", s._dashEndCapSuppressionIfSpaceInsufficient);
					}
				}
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:32,代码来源:PenX3D.cs

示例6: Serialize

      public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
      {
        RectangleWithShadow s = (RectangleWithShadow)obj;
        info.AddValue("Brush", s._brush);
        info.AddValue("ShadowLength", s._shadowLength);

      }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:RectangleWithShadow.cs

示例7: Serialize

      public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo  info)
      {
        IntegerRangeAsCollection s = (IntegerRangeAsCollection)obj;
        info.AddValue("Start",s._start);
        info.AddValue("Count",s._count);

      }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:IntegerRangeAsCollection.cs

示例8: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				TablePlusLayout s = (TablePlusLayout)obj;

				info.AddValue("Table", s._table);
				info.AddValue("Layout", s._layout);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:TablePlusLayout.cs

示例9: Serialize

 public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
 {
   RelativeOrAbsoluteValue s = (RelativeOrAbsoluteValue)obj;
     
   info.AddValue("IsRelative",s.m_bIsRelative);
   info.AddValue("Value",s.m_Value);
 }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:RelativeOrAbsoluteValue.cs

示例10: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				DocumentInformation s = (DocumentInformation)obj;

				info.AddValue("Identifier", s.DocumentIdentifier);
				info.AddValue("Notes", s.DocumentNotes);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:DocumentInformation.cs

示例11: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				NonlinearFitDocument s = (NonlinearFitDocument)obj;

				info.AddValue("FitEnsemble", s._fitEnsemble);
				info.AddValue("Parameters", s._currentParameters);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:NonlinearFitDocument.cs

示例12: Serialize

		public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
		{
			System.Drawing.SizeF s = (System.Drawing.SizeF)obj;

			info.AddValue("Width", s.Width);
			info.AddValue("Height", s.Height);
		}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:SystemDrawingSerialization.cs

示例13: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				TextScale s = (TextScale)obj;

				info.AddValue("Bounds", s._dataBounds);
				info.AddValue("Rescaling", s._rescaling);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:TextScale.cs

示例14: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (Ellipsoidal)obj;

				info.AddValue("Size1", 2 * s._radius1);
				info.AddValue("Size2", 2 * s._radius2);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:Ellipsoidal.cs

示例15: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (GridPartitioning)obj;

				info.AddValue("XPartitioning", s._xPartitioning);
				info.AddValue("YPartitioning", s._yPartitioning);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:GridPartitioning.cs


注:本文中的Altaxo.AddValue方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。