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


C# Ice.ice_facet方法代码示例

本文整理汇总了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;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:21,代码来源:Murmur.cs

示例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;
 }
开发者ID:nfrey,项目名称:qreal,代码行数:21,代码来源:repoclientice.cs

示例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;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:21,代码来源:iGuiHub.cs

示例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;
 }
开发者ID:spolnik,项目名称:Chat_Ice_ZeroC,代码行数:21,代码来源:Chat.cs

示例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;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:11,代码来源:minie_entity.cs

示例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;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:11,代码来源:iGuiHub.cs

示例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;
 }
开发者ID:vvhh2003,项目名称:InfoDTV,代码行数:21,代码来源:ICEBufferSender.cs

示例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;
 }
开发者ID:hathagat,项目名称:KeeFox,代码行数:21,代码来源:KeeICE.cs

示例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;
 }
开发者ID:hathagat,项目名称:KeeFox,代码行数:11,代码来源:KeeICE.cs

示例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;
 }
开发者ID:Netoperek,项目名称:ClienBankIce,代码行数:11,代码来源:Bank.cs

示例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;
 }
开发者ID:Vinhold,项目名称:halcyon,代码行数:21,代码来源:Murmur.cs

示例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;
 }
开发者ID:vvhh2003,项目名称:InfoDTV,代码行数:11,代码来源:ICEBufferSender.cs

示例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;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:21,代码来源:minie_entity.cs

示例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;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:11,代码来源:Murmur.cs

示例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;
 }
开发者ID:tornadocean,项目名称:SyAutoH,代码行数:11,代码来源:iMesLink.cs


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