本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}