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


C# Altaxo.GetString方法代码示例

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


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

示例1: Deserialize

 public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
 {
   LabelFormattingBase s = (LabelFormattingBase)o;
   s._prefix = info.GetString("Prefix");
   s._suffix = info.GetString("Suffix");
   return s;
 }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:LabelFormattingBase.cs

示例2: SDeserialize

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

				s._documentIdentifier = info.GetString("Identifier");
				s._documentNotes = info.GetString("Notes");

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:DocumentInformation.cs

示例3: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				AssemblyAndTypeSurrogate s = o == null ? new AssemblyAndTypeSurrogate() : (AssemblyAndTypeSurrogate)o;

				s._assemblyName = info.GetString("AssemblyName");
				s._typeName = info.GetString("TypeName");

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:AssemblyAndTypeSurrogate.cs

示例4: SDeserialize

			protected virtual AbsoluteAndRelativeFileName SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var absoluteFilePath = info.GetString("AbsolutePath");

				var s = (o == null ? new AbsoluteAndRelativeFileName(absoluteFilePath) : (AbsoluteAndRelativeFileName)o);

				s._absoluteFileName = absoluteFilePath;
				s._relativeFileName = info.GetString("RelativePath");

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:11,代码来源:AbsoluteAndRelativeFileName.cs

示例5: SDeserialize

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

				s._cultureID = info.GetInt32("CultureID");
				s._cultureName = info.GetString("CultureName");
				s._numberDecimalSeparator = info.GetString("NumberDecimalSeparator");
				s._numberGroupSeparator = info.GetString("NumberGroupSeparator");
				s.SetCachedCultureInfo();

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:12,代码来源:CultureSettings.cs

示例6: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				DateTimeLabelFormatting s = (DateTimeLabelFormatting)o ?? new DateTimeLabelFormatting();
				info.GetBaseValueEmbedded(s, typeof(MultiLineLabelFormattingBase), parent);

				s._timeConversion = (DateTimeLabelFormatting.TimeConversion)info.GetEnum("TimeConversion", typeof(DateTimeLabelFormatting.TimeConversion));
				s._formatString = info.GetString("FormatString");
				s._showAlternateFormattingAtMidnight = info.GetBoolean("ShowAlternateFormattingAtMidnight");
				s._showAlternateFormattingAtNoon = info.GetBoolean("ShowAlternateFormattingAtNoon");
				s._formatStringAlternate = info.GetString("FormatStringAlternate");

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:13,代码来源:DateTimeLabelFormatting.cs

示例7: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var s = (FreeLabelFormatting)o ?? new FreeLabelFormatting();
				info.GetBaseValueEmbedded(s, typeof(FreeLabelFormatting).BaseType, parent);
				s._formatString = info.GetString("FormatString");
				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:FreeLabelFormatting.cs

示例8: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				LinkedImageGraphic s = null != o ? (LinkedImageGraphic)o : new LinkedImageGraphic();
				info.GetBaseValueEmbedded(s, typeof(LinkedImageGraphic).BaseType, parent);
				s._imagePath = info.GetString("ImagePath");
				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:LinkedImageGraphic.cs

示例9: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				TableScript s = null != o ? (TableScript)o : new TableScript();

				s.ScriptText = info.GetString("Text");
				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:TableScript.cs

示例10: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var s = null != o ? (WorksheetViewLayout)o : new WorksheetViewLayout();

				XmlSerializationSurrogate0 surr = new XmlSerializationSurrogate0();
				surr._TableController = s;
				if (info.CurrentElementName == "Controller")
				{
					info.OpenElement();
					surr._PathToLayout = (AbsoluteDocumentPath)info.GetValue("Layout", s);
					info.CloseElement();
				}
				else if (info.CurrentElementName == "BaseType")
				{
					info.GetString("BaseType");
					surr._PathToLayout = (AbsoluteDocumentPath)info.GetValue("Layout", s);
				}
				else
				{
					surr._PathToLayout = (AbsoluteDocumentPath)info.GetValue("Layout", s);
				}

				info.DeserializationFinished += new Altaxo.Serialization.Xml.XmlDeserializationCallbackEventHandler(surr.EhDeserializationFinished);

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:26,代码来源:WorksheetViewLayout.cs

示例11: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				SimpleTextGraphic s = null != o ? (SimpleTextGraphic)o : new SimpleTextGraphic();
				info.GetBaseValueEmbedded(s, typeof(SimpleTextGraphic).BaseType, parent);

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

示例12: Deserialize

			public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				ParameterSetElement s = o != null ? (ParameterSetElement)o : new ParameterSetElement();

				s.Name = info.GetString("Name");
				s.Parameter = info.GetDouble("Value");
				s.Variance = info.GetDouble("Variance");
				s.Vary = info.GetBoolean("Vary");

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:11,代码来源:ParameterSet.cs

示例13: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				var guid = System.Xml.XmlConvert.ToGuid(info.GetString("Guid"));

				var s = ImageFormats.FirstOrDefault(x => x.Guid == guid);

				if (null == s)
					s = new ImageFormat(guid);

				return s;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:11,代码来源:System_Drawing_Imaging_ImageFormat.cs

示例14: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				int numberOfLevelsDown = info.GetInt32("LevelsDown");

				int count = info.OpenArray("Path");
				var arr = new string[count];
				for (int i = 0; i < count; i++)
					arr[i] = info.GetString();
				info.CloseArray(count);

				return new RelativeDocumentPath(numberOfLevelsDown, arr);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:12,代码来源:RelativeDocumentPath.cs

示例15: Deserialize

			public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				string colorSetName = info.GetString("Name");
				var colorSetLevel = (Altaxo.Main.ItemDefinitionLevel)info.GetEnum("Level", typeof(Altaxo.Main.ItemDefinitionLevel));
				var creationDate = info.GetDateTime("CreationDate");
				var isPlotColorSet = info.GetBoolean("IsPlotColorSet");

				int count = info.OpenArray("Colors");
				var colors = new NamedColor[count];
				for (int i = 0; i < count; ++i)
				{
					string name = info.GetStringAttribute("Name");
					string cvalue = info.GetString("e");
					colors[i] = new NamedColor(AxoColor.FromInvariantString(cvalue), name);
				}

				info.CloseArray(count);

				return new ColorSet(colorSetName, colors);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:20,代码来源:ColorSet.cs


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