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


C# Storable类代码示例

本文整理汇总了C#中Storable的典型用法代码示例。如果您正苦于以下问题:C# Storable类的具体用法?C# Storable怎么用?C# Storable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Storable类属于命名空间,在下文中一共展示了Storable类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: dynamic_cast

 public static AddressBook dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.AddressBook_dynamic_cast(Storable.getCPtr(pObject));
     AddressBook ret = (cPtr == IntPtr.Zero) ? null : new AddressBook(cPtr, false);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:germc,项目名称:Open-Transactions,代码行数:7,代码来源:AddressBook.cs

示例2: dynamic_cast

 public static BitcoinAcct dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.BitcoinAcct_dynamic_cast(Storable.getCPtr(pObject));
     BitcoinAcct ret = (cPtr == IntPtr.Zero) ? null : new BitcoinAcct(cPtr, false);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:germc,项目名称:Open-Transactions,代码行数:7,代码来源:BitcoinAcct.cs

示例3: dynamic_cast

 public static ServerInfo dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.ServerInfo_dynamic_cast(Storable.getCPtr(pObject));
     ServerInfo ret = (cPtr == IntPtr.Zero) ? null : new ServerInfo(cPtr, false);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:germc,项目名称:Open-Transactions,代码行数:7,代码来源:ServerInfo.cs

示例4: dynamic_cast

 public static WalletData dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.WalletData_dynamic_cast(Storable.getCPtr(pObject));
     WalletData ret = (cPtr == IntPtr.Zero) ? null : new WalletData(cPtr, false);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:germc,项目名称:Open-Transactions,代码行数:7,代码来源:WalletData.cs

示例5: ot_dynamic_cast

 public static new Contact ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.Contact_ot_dynamic_cast(Storable.getCPtr(pObject));
     Contact ret = (cPtr == IntPtr.Zero) ? null : new Contact(cPtr, false);
     return ret;
 }
开发者ID:seanmerriam,项目名称:Open-Transactions,代码行数:6,代码来源:Contact.cs

示例6: ot_dynamic_cast

 public static new ServerInfo ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.ServerInfo_ot_dynamic_cast(Storable.getCPtr(pObject));
     ServerInfo ret = (cPtr == IntPtr.Zero) ? null : new ServerInfo(cPtr, false);
     return ret;
 }
开发者ID:kimmyyoo,项目名称:Open-Transactions,代码行数:6,代码来源:ServerInfo.cs

示例7: EncodeObject

 public static string EncodeObject(Storable theContents)
 {
     string ret = otapiPINVOKE.EncodeObject(Storable.getCPtr(theContents));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:Mindonaut,项目名称:Open-Transactions,代码行数:6,代码来源:otapi.cs

示例8: ot_dynamic_cast

 public static new TradeListMarket ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.TradeListMarket_ot_dynamic_cast(Storable.getCPtr(pObject));
     TradeListMarket ret = (cPtr == IntPtr.Zero) ? null : new TradeListMarket(cPtr, false);
     return ret;
 }
开发者ID:kimmyyoo,项目名称:Open-Transactions,代码行数:6,代码来源:TradeListMarket.cs

示例9: StoreObject

 public bool StoreObject(Storable theContents, string strFolder, string oneStr)
 {
     bool ret = otapiPINVOKE.Storage_StoreObject__SWIG_2(swigCPtr, Storable.getCPtr(theContents), strFolder, oneStr);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:22367rh,项目名称:Open-Transactions,代码行数:6,代码来源:Storage.cs

示例10: ot_dynamic_cast

 public static new AddressBook ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.AddressBook_ot_dynamic_cast(Storable.getCPtr(pObject));
     AddressBook ret = (cPtr == IntPtr.Zero) ? null : new AddressBook(cPtr, false);
     return ret;
 }
开发者ID:22367rh,项目名称:Open-Transactions,代码行数:6,代码来源:AddressBook.cs

示例11: getCPtr

 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Storable obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
开发者ID:BugFreeSoftware,项目名称:Open-Transactions,代码行数:3,代码来源:Storable.cs

示例12: ot_dynamic_cast

 public static new StringMap ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.StringMap_ot_dynamic_cast(Storable.getCPtr(pObject));
     StringMap ret = (cPtr == IntPtr.Zero) ? null : new StringMap(cPtr, false);
     return ret;
 }
开发者ID:kimmyyoo,项目名称:Open-Transactions,代码行数:6,代码来源:StringMap.cs

示例13: dynamic_cast

 public static ContactNym dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.ContactNym_dynamic_cast(Storable.getCPtr(pObject));
     ContactNym ret = (cPtr == IntPtr.Zero) ? null : new ContactNym(cPtr, false);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:germc,项目名称:Open-Transactions,代码行数:7,代码来源:ContactNym.cs

示例14: ot_dynamic_cast

 public new static Acct ot_dynamic_cast(Storable pObject) {
   global::System.IntPtr cPtr = otapiPINVOKE.Acct_ot_dynamic_cast(Storable.getCPtr(pObject));
   Acct ret = (cPtr == global::System.IntPtr.Zero) ? null : new Acct(cPtr, false);
   return ret;
 }
开发者ID:BugFreeSoftware,项目名称:Open-Transactions,代码行数:5,代码来源:Acct.cs

示例15: ot_dynamic_cast

 public new static TradeDataMarket ot_dynamic_cast(Storable pObject) {
   global::System.IntPtr cPtr = otapiPINVOKE.TradeDataMarket_ot_dynamic_cast(Storable.getCPtr(pObject));
   TradeDataMarket ret = (cPtr == global::System.IntPtr.Zero) ? null : new TradeDataMarket(cPtr, false);
   return ret;
 }
开发者ID:BugFreeSoftware,项目名称:Open-Transactions,代码行数:5,代码来源:TradeDataMarket.cs


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