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


C# Altaxo.AddBaseValueEmbedded方法代码示例

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


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

示例1: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (MultiLineLabelFormattingBase)obj;
				info.AddBaseValueEmbedded(s, typeof(MultiLineLabelFormattingBase).BaseType);
				info.AddValue("LineSpacing", s._relativeLineSpacing);
				info.AddEnum("BlockAlignment", s._textBlockAlignment);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:MultiLineLabelFormattingBase.cs

示例2: Serialize

 public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
 {
   NumericLabelFormattingBase s = (NumericLabelFormattingBase)obj;
   info.AddBaseValueEmbedded(s,typeof(LabelFormattingBase));
   info.AddValue("DecimalPlaces",s._decimalPlaces);
   
 }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:NumericLabelFormattingBase.cs

示例3: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (VisibleLightSpectrum)obj;
				info.AddBaseValueEmbedded(s, typeof(ColorProviderBase));
				info.AddValue("Gamma", s._gamma);
				info.AddValue("Brightness", s._brightness);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:VisibleLightSpectrum.cs

示例4: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				OpenPathShapeBase s = (OpenPathShapeBase)obj;
				info.AddBaseValueEmbedded(s, typeof(OpenPathShapeBase).BaseType);

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

示例5: Serialize

			public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (ItemLocationDirectAspectPreserving)obj;
				info.AddValue("OriginalSize", s._originalItemSize);
				info.AddEnum("AspectPreserving", s._aspectPreserving);
				info.AddBaseValueEmbedded(obj, typeof(ItemLocationDirectAspectPreserving).BaseType);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:ItemLocationDirectAspectPreserving.cs

示例6: Serialize

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

        info.AddBaseValueEmbedded(s,typeof(NumericLabelFormattingBase));
        
      }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:NumericLabelFormattingAuto.cs

示例7: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				RegularPolygon s = (RegularPolygon)obj;
				info.AddBaseValueEmbedded(s, typeof(RegularPolygon).BaseType);
				info.AddValue("NumberOfVertices", s._vertices);
				info.AddValue("CornerRadius", s._cornerRadius);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:RegularPolygon.cs

示例8: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				PlotGroupStyleCollection s = (PlotGroupStyleCollection)obj;
				info.AddBaseValueEmbedded(obj, obj.GetType().BaseType);

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

示例9: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (RandomCircles)obj;
				info.AddBaseValueEmbedded(obj, s.GetType().BaseType);

				info.AddValue("RandomSeed", s._randomSeed);
				info.AddValue("CircleDiameter", s._circleDiameterPt);
				info.AddValue("FillingFactor", s._fillingFactor);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:RandomCircles.cs

示例10: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				SimpleTextGraphic s = (SimpleTextGraphic)obj;
				info.AddBaseValueEmbedded(s, typeof(SimpleTextGraphic).BaseType);

				info.AddValue("Text", s._text);
				info.AddValue("Font", s._font);
				info.AddValue("Color", s._color);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:SimpleTextGraphic.cs

示例11: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (ClosedCardinalSpline)obj;
				info.AddBaseValueEmbedded(s, typeof(ClosedCardinalSpline).BaseType);
				info.AddValue("Tension", s._tension);
				info.CreateArray("Points", s._curvePoints.Count);
				for (int i = 0; i < s._curvePoints.Count; i++)
					info.AddValue("e", s._curvePoints[i]);
				info.CommitArray();
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:10,代码来源:ClosedCardinalSpline.cs

示例12: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				var s = (ShapeGroup)obj;
				info.AddBaseValueEmbedded(s, typeof(ShapeGroup).BaseType);

				info.CreateArray("Elements", s._groupedObjects.Count);
				foreach (var e in s._groupedObjects)
					info.AddValue("e", e);
				info.CommitArray();
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:10,代码来源:ShapeGroup.cs

示例13: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				DateTimeLabelFormatting s = (DateTimeLabelFormatting)obj;
				info.AddBaseValueEmbedded(s, typeof(MultiLineLabelFormattingBase));

				info.AddEnum("TimeConversion", s._timeConversion);
				info.AddValue("FormatString", s._formatString);
				info.AddValue("ShowAlternateFormattingAtMidnight", s._showAlternateFormattingAtMidnight);
				info.AddValue("ShowAlternateFormattingAtNoon", s._showAlternateFormattingAtNoon);
				info.AddValue("FormatStringAlternate", s._formatStringAlternate);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:11,代码来源:DateTimeLabelFormatting.cs

示例14: Serialize

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

				info.AddBaseValueEmbedded(s, typeof(TextGraphic).BaseType);
				info.AddValue("Text", s._text);
				info.AddValue("Font", s._font);
				info.AddValue("Brush", s._textBrush);
				info.AddValue("BackgroundStyle", s._background);
				info.AddValue("LineSpacing", s._lineSpacingFactor);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:11,代码来源:TextGraphic.cs

示例15: Serialize

			public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
			{
				Altaxo.Data.DateTimeColumn s = (Altaxo.Data.DateTimeColumn)obj;
				// serialize the base class
				info.AddBaseValueEmbedded(s, typeof(Altaxo.Data.DataColumn));

				if (null == info.GetProperty("Altaxo.Data.DataColumn.SaveAsTemplate"))
					info.AddArray("Data", s._data, s._count);
				else
					info.AddArray("Data", s._data, 0);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:11,代码来源:DateTimeColumn.cs


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