本文整理汇总了C#中Altaxo.GetInt64方法的典型用法代码示例。如果您正苦于以下问题:C# Altaxo.GetInt64方法的具体用法?C# Altaxo.GetInt64怎么用?C# Altaxo.GetInt64使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Altaxo
的用法示例。
在下文中一共展示了Altaxo.GetInt64方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Deserialize
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
{
var s = (DateTimeScaleRescaleConditions)o ?? new DateTimeScaleRescaleConditions();
// Cached values
s._dataBoundsOrg = info.GetInt64("DataBoundsOrg");
s._dataBoundsEnd = info.GetInt64("DataBoundsEnd");
// User provided values
s._orgRescaling = (BoundaryRescaling)info.GetEnum("OrgRescaling", typeof(BoundaryRescaling));
s._endRescaling = (BoundaryRescaling)info.GetEnum("EndRescaling", typeof(BoundaryRescaling));
s._userProvidedOrgRelativeTo = (BoundariesRelativeTo)info.GetEnum("OrgRelativeTo", typeof(BoundariesRelativeTo));
s._userProvidedEndRelativeTo = (BoundariesRelativeTo)info.GetEnum("EndRelativeTo", typeof(BoundariesRelativeTo));
s._userProvidedOrgValue = info.GetInt64("UserProvidedOrg");
s._userProvidedOrgDateTimeKind = (DateTimeKind)info.GetEnum("UserProvidedOrgDateTimeKind", typeof(DateTimeKind));
s._userProvidedEndValue = info.GetInt64("UserProvidedEnd");
s._userProvidedEndDateTimeKind = (DateTimeKind)info.GetEnum("UserProvidedEndDateTimeKind", typeof(DateTimeKind));
// Final result
s._resultingOrg = info.GetInt64("ResultingOrg");
s._resultingMinOrg = info.GetInt64("ResultingMinOrg");
s._resultingEnd = info.GetInt64("ResultingEnd");
s._resultingMaxEnd = info.GetInt64("ResultingMaxEnd");
return s;
}