本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例9: getCPtr
internal static HandleRef getCPtr(Storable obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}