本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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);
}