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


C# Altaxo.GetBoolean方法代码示例

本文整理汇总了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;
      }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:27,代码来源:Log10Scale.cs

示例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;
 }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:8,代码来源:KohlrauschSusceptibility.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:HavriliakNegamiModulusRelaxation.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:HavriliakNegamiSusceptibility.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:KohlrauschModulusRelaxation.cs

示例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;
      }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:10,代码来源:G2DCartesicCoordinateSystem.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:12,代码来源:SpanTickSpacing.cs

示例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);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:12,代码来源:RangeOfNumericalValues.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:13,代码来源:DateTimeLabelFormatting.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:14,代码来源:EmbeddedObjectRenderingOptions.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:KohlrauschDecay.cs

示例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);
 }
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:7,代码来源:RelativeOrAbsoluteValue.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:7,代码来源:NumericLabelFormattingScientific.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:8,代码来源:ImageGraphic.cs

示例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;
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:9,代码来源:ScatterSymbolGroupStyle.cs


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