當前位置: 首頁>>代碼示例>>C#>>正文


C# OTAPI.Storable類代碼示例

本文整理匯總了C#中OpenTransactions.OTAPI.Storable的典型用法代碼示例。如果您正苦於以下問題:C# Storable類的具體用法?C# Storable怎麽用?C# Storable使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


Storable類屬於OpenTransactions.OTAPI命名空間,在下文中一共展示了Storable類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: 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:da2ce7,項目名稱:Open-Transactions-old,代碼行數:6,代碼來源:TradeListMarket.cs

示例2: ot_dynamic_cast

 public static new BitcoinServer ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.BitcoinServer_ot_dynamic_cast(Storable.getCPtr(pObject));
     BitcoinServer ret = (cPtr == IntPtr.Zero) ? null : new BitcoinServer(cPtr, false);
     return ret;
 }
開發者ID:kazcw,項目名稱:Open-Transactions,代碼行數:6,代碼來源:BitcoinServer.cs

示例3: ot_dynamic_cast

 public static new Acct ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.Acct_ot_dynamic_cast(Storable.getCPtr(pObject));
     Acct ret = (cPtr == IntPtr.Zero) ? null : new Acct(cPtr, false);
     return ret;
 }
開發者ID:da2ce7,項目名稱:Open-Transactions-old,代碼行數:6,代碼來源:Acct.cs

示例4: ot_dynamic_cast

 public static new Blob ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.Blob_ot_dynamic_cast(Storable.getCPtr(pObject));
     Blob ret = (cPtr == IntPtr.Zero) ? null : new Blob(cPtr, false);
     return ret;
 }
開發者ID:hanchang,項目名稱:Open-Transactions,代碼行數:6,代碼來源:Blob.cs

示例5: EncodeObject

 public string EncodeObject(Storable theContents) {
   string ret = otapiPINVOKE.Storage_EncodeObject(swigCPtr, Storable.getCPtr(theContents));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
開發者ID:rfree,項目名稱:Open-Transactions.old,代碼行數:5,代碼來源:Storage.cs

示例6: ot_dynamic_cast

 public static new OTDBString ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.OTDBString_ot_dynamic_cast(Storable.getCPtr(pObject));
     OTDBString ret = (cPtr == IntPtr.Zero) ? null : new OTDBString(cPtr, false);
     return ret;
 }
開發者ID:da2ce7,項目名稱:Open-Transactions-old,代碼行數:6,代碼來源:OTDBString.cs

示例7: StoreObject

 public static bool StoreObject(Storable theContents, string strFolder, string oneStr)
 {
     bool ret = otapiPINVOKE.StoreObject__SWIG_2(Storable.getCPtr(theContents), strFolder, oneStr);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
開發者ID:da2ce7,項目名稱:Open-Transactions-old,代碼行數:6,代碼來源:otapi.cs

示例8: 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:BugRogers101,項目名稱:Open-Transactions,代碼行數:6,代碼來源:StringMap.cs

示例9: getCPtr

 internal static HandleRef getCPtr(Storable obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
開發者ID:da2ce7,項目名稱:Open-Transactions-old,代碼行數:4,代碼來源:Storable.cs

示例10: ot_dynamic_cast

 public static new Displayable ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.Displayable_ot_dynamic_cast(Storable.getCPtr(pObject));
     Displayable ret = (cPtr == IntPtr.Zero) ? null : new Displayable(cPtr, false);
     return ret;
 }
開發者ID:hanchang,項目名稱:Open-Transactions,代碼行數:6,代碼來源:Displayable.cs

示例11: ot_dynamic_cast

 public new static 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:rfree,項目名稱:Open-Transactions.old,代碼行數:5,代碼來源:ServerInfo.cs

示例12: ot_dynamic_cast

 public new static OfferDataNym ot_dynamic_cast(Storable pObject) {
   IntPtr cPtr = otapiPINVOKE.OfferDataNym_ot_dynamic_cast(Storable.getCPtr(pObject));
   OfferDataNym ret = (cPtr == IntPtr.Zero) ? null : new OfferDataNym(cPtr, false);
   return ret;
 }
開發者ID:rfree,項目名稱:Open-Transactions.old,代碼行數:5,代碼來源:OfferDataNym.cs

示例13: 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:BugRogers101,項目名稱:Open-Transactions,代碼行數:6,代碼來源:AddressBook.cs

示例14: ot_dynamic_cast

 public static new WalletData ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.WalletData_ot_dynamic_cast(Storable.getCPtr(pObject));
     WalletData ret = (cPtr == IntPtr.Zero) ? null : new WalletData(cPtr, false);
     return ret;
 }
開發者ID:da2ce7,項目名稱:Open-Transactions-old,代碼行數:6,代碼來源:WalletData.cs

示例15: StoreObject

 public bool StoreObject(Storable theContents, string strFolder) {
   bool ret = otapiPINVOKE.Storage_StoreObject__SWIG_3(swigCPtr, Storable.getCPtr(theContents), strFolder);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
開發者ID:rfree,項目名稱:Open-Transactions.old,代碼行數:5,代碼來源:Storage.cs


注:本文中的OpenTransactions.OTAPI.Storable類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。