當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。