本文整理汇总了C#中Ice.ice_facet方法的典型用法代码示例。如果您正苦于以下问题:C# Ice.ice_facet方法的具体用法?C# Ice.ice_facet怎么用?C# Ice.ice_facet使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Ice
的用法示例。
在下文中一共展示了Ice.ice_facet方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: checkedCast
public static TreePrx checkedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA("::Murmur::Tree"))
{
TreePrxHelper h = new TreePrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例2: checkedCast
public static RepoApiPrx checkedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA("::RepoIce::RepoApi"))
{
RepoApiPrxHelper h = new RepoApiPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例3: checkedCast
public static GuiDataUpdaterPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA(ice_staticId(), ctx))
{
GuiDataUpdaterPrxHelper h = new GuiDataUpdaterPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例4: checkedCast
public static ListenerPrx checkedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA("::Chat::Listener"))
{
ListenerPrxHelper h = new ListenerPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例5: uncheckedCast
public static cm_node_category_rpcPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
cm_node_category_rpcPrxHelper h = new cm_node_category_rpcPrxHelper();
h.copyFrom__(bb);
return h;
}
示例6: uncheckedCast
public static UserManagementPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
UserManagementPrxHelper h = new UserManagementPrxHelper();
h.copyFrom__(bb);
return h;
}
示例7: checkedCast
public static BufferTransferPrx checkedCast(Ice.ObjectPrx b, string f, Ice.Context ctx)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA("::InfoDTV::Multiplexer::Dynamic::Provider::BufferTransfer", ctx))
{
BufferTransferPrxHelper h = new BufferTransferPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例8: checkedCast
public static CallbackReceiverPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA("::KeeICE::KPlib::CallbackReceiver", ctx))
{
CallbackReceiverPrxHelper h = new CallbackReceiverPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例9: uncheckedCast
public static CallbackReceiverPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
CallbackReceiverPrxHelper h = new CallbackReceiverPrxHelper();
h.copyFrom__(bb);
return h;
}
示例10: uncheckedCast
public static PremiumAccountPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
PremiumAccountPrxHelper h = new PremiumAccountPrxHelper();
h.copyFrom__(bb);
return h;
}
示例11: checkedCast
public static ServerContextCallbackPrx checkedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA(ice_staticId()))
{
ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例12: uncheckedCast
public static BufferTransferPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
BufferTransferPrxHelper h = new BufferTransferPrxHelper();
h.copyFrom__(bb);
return h;
}
示例13: checkedCast
public static sys_role_permission_rpcPrx checkedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
try
{
if(bb.ice_isA(ice_staticId()))
{
sys_role_permission_rpcPrxHelper h = new sys_role_permission_rpcPrxHelper();
h.copyFrom__(bb);
return h;
}
}
catch(Ice.FacetNotExistException)
{
}
return null;
}
示例14: uncheckedCast
public static ServerContextCallbackPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
h.copyFrom__(bb);
return h;
}
示例15: uncheckedCast
public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b, string f)
{
if(b == null)
{
return null;
}
Ice.ObjectPrx bb = b.ice_facet(f);
MESLinkPrxHelper h = new MESLinkPrxHelper();
h.copyFrom__(bb);
return h;
}