本文整理汇总了C#中Altaxo.GetBoolean方法的典型用法代码示例。如果您正苦于以下问题:C# Altaxo.GetBoolean方法的具体用法?C# Altaxo.GetBoolean怎么用?C# Altaxo.GetBoolean使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Altaxo
的用法示例。
在下文中一共展示了Altaxo.GetBoolean方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
Log10Scale s = null!=o ? (Log10Scale)o : new Log10Scale();
s._log10Org = (double)info.GetDouble("Log10Org");
s._log10End = (double)info.GetDouble("Log10End");
s._decadesPerMajorTick = (int)info.GetInt32("DecadesPerMajor");
bool AxisOrgFixed = (bool)info.GetBoolean("OrgFixed");
bool AxisEndFixed = (bool)info.GetBoolean("EndFixed");
s._dataBounds = (PositiveFiniteNumericalBoundaries)info.GetValue("Bounds",typeof(PositiveFiniteNumericalBoundaries));
s._dataBounds.BoundaryChanged += new BoundaryChangedHandler(s.OnBoundariesChanged);
s._rescaling = new LogarithmicAxisRescaleConditions();
s._rescaling.SetOrgAndEnd(AxisOrgFixed ? BoundaryRescaling.Fixed : BoundaryRescaling.Auto, s.Org, AxisEndFixed ? BoundaryRescaling.Fixed:BoundaryRescaling.Auto, s.End);
LogarithmicAxisRescaleConditions rescaling = new LogarithmicAxisRescaleConditions();
rescaling.SetOrgAndEnd(AxisOrgFixed ? BoundaryRescaling.Fixed : BoundaryRescaling.Auto, s.Org, AxisEndFixed ? BoundaryRescaling.Fixed:BoundaryRescaling.Auto, s.End);
s._rescaling = rescaling;
return s;
}
示例2: Deserialize
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
KohlrauschSusceptibility s = o != null ? (KohlrauschSusceptibility)o : new KohlrauschSusceptibility();
s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency");
s._useFlowTerm = info.GetBoolean("FlowTerm");
s._isDielectricData = info.GetBoolean("IsDielectric");
return s;
}
示例3: Deserialize
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
HavriliakNegamiModulusRelaxation s = o != null ? (HavriliakNegamiModulusRelaxation)o : new HavriliakNegamiModulusRelaxation();
s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency");
s._useFlowTerm = info.GetBoolean("FlowTerm");
s._logarithmizeResults = info.GetBoolean("LogarithmizeResults");
return s;
}
示例4: Deserialize
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
HavriliakNegamiSusceptibility s = o != null ? (HavriliakNegamiSusceptibility)o : new HavriliakNegamiSusceptibility();
s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency");
info.GetBoolean("NegImSign");
s._useFlowTerm = !info.GetBoolean("ExcludeConductivity");
s._isDielectricData = true;
return s;
}
示例5: Deserialize
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
KohlrauschModulusRelaxation s = o != null ? (KohlrauschModulusRelaxation)o : new KohlrauschModulusRelaxation();
s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency");
s._useFlowTerm = info.GetBoolean("FlowTerm");
s._logarithmizeResults = info.GetBoolean("LogarithmizeResults");
//s._isDielectricData = info.GetBoolean("IsDielectric");
return s;
}
示例6: SDeserialize
protected virtual G2DCartesicCoordinateSystem SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
G2DCartesicCoordinateSystem s = (o == null ? new G2DCartesicCoordinateSystem() : (G2DCartesicCoordinateSystem)o);
s.IsXYInterchanged = info.GetBoolean("XYInterchanged");
s._isXreverse = info.GetBoolean("XReverse");
s._isYreverse = info.GetBoolean("YReverse");
return s;
}
示例7: SDeserialize
protected virtual SpanTickSpacing SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
var s = null != o ? (SpanTickSpacing)o : new SpanTickSpacing();
s._showRatioEndOrg = info.GetBoolean("ShowRatioEndOrg");
s._relTickPosition = info.GetDouble("RelTickPosition");
s._transformationDivider = info.GetDouble("TransformationDivider");
s._transformationOperationIsMultiply = info.GetBoolean("TransformationIsMultiply");
return s;
}
示例8: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
var lower = (AltaxoVariant)info.GetValue("LowerValue", parent);
var isLowerInclusive = info.GetBoolean("LowerIsInclusive");
var upper = (AltaxoVariant)info.GetValue("UpperValue", parent);
var isUpperInclusive = info.GetBoolean("UppperIsInclusive");
var columnProxy = (IReadableColumnProxy)info.GetValue("Column", parent);
return new RangeOfNumericalValues(info, lower, isLowerInclusive, upper, isUpperInclusive, columnProxy);
}
示例9: 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;
}
示例10: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
var s = null != o ? (EmbeddedObjectRenderingOptions)o : new EmbeddedObjectRenderingOptions();
s._sourceDpiResolution = info.GetDouble("SourceResolution");
s._backgroundColorForFormatsWithoutAlphaChannel = (NamedColor)info.GetValue("BackgroundForFormatsWithoutAlphaChannel", s);
s.BackgroundBrush = (BrushX)info.GetValue("Background", s);
s._renderEnhancedMetafile = info.GetBoolean("RenderEnhancedMetafile");
s._renderEnhancedMetafileAsVectorFormat = info.GetBoolean("RenderEnhancedMetafileAsVectorFormat");
s._renderWindowsMetafile = info.GetBoolean("RenderWindowsMetafile");
s._renderBitmap = info.GetBoolean("RenderBitmap");
return s;
}
示例11: Deserialize
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
KohlrauschDecay s = o != null ? (KohlrauschDecay)o : new KohlrauschDecay();
s.NumberOfRelaxations = info.GetInt32("NumberOfRelaxations");
s._logarithmizeResult = info.GetBoolean("LogarithmizeResult");
return s;
}
示例12: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
bool rel = info.GetBoolean("IsRelative");
double val = info.GetDouble("Value");
return new RelativeOrAbsoluteValue(val,rel);
}
示例13: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
NumericLabelFormattingScientific s = null != o ? (NumericLabelFormattingScientific)o : new NumericLabelFormattingScientific();
info.GetBaseValueEmbedded(s, typeof(NumericLabelFormattingBase), parent);
s._showExponentAlways = info.GetBoolean("ShowExponentAlways");
return s;
}
示例14: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
var s = (ImageGraphic)o;
info.GetBaseValueEmbedded(s, typeof(ImageGraphic).BaseType, parent);
s._isSizeCalculationBasedOnSourceSize = info.GetBoolean("SizeBasedOnSourceSize");
return s;
}
示例15: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
ScatterSymbolGroupStyle s = null != o ? (ScatterSymbolGroupStyle)o : new ScatterSymbolGroupStyle();
s._isStepEnabled = info.GetBoolean("StepEnabled");
s._listOfValues = ScatterSymbolListManager.Instance.OldSolid;
s._value = s._listOfValues[0];
return s;
}