本文整理匯總了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;
}