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


C# Ice.ice_isA方法代码示例

本文整理汇总了C#中Ice.ice_isA方法的典型用法代码示例。如果您正苦于以下问题:C# Ice.ice_isA方法的具体用法?C# Ice.ice_isA怎么用?C# Ice.ice_isA使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Ice的用法示例。


在下文中一共展示了Ice.ice_isA方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: checkedCast

 public static DHTNodePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     DHTNodePrx r = b as DHTNodePrx;
     if((r == null) && b.ice_isA("::IDHT::DHTNode", ctx))
     {
         DHTNodePrxHelper h = new DHTNodePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:darekfilip,项目名称:IDHT,代码行数:15,代码来源:idht.cs

示例2: checkedCast

 public static UserManagementPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     UserManagementPrx r = b as UserManagementPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         UserManagementPrxHelper h = new UserManagementPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:15,代码来源:iGuiHub.cs

示例3: checkedCast

 public static AppServicePrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     AppServicePrx r = b as AppServicePrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         AppServicePrxHelper h = new AppServicePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:15,代码来源:minie_service_app.cs

示例4: checkedCast

 public static MESLinkPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:tornadocean,项目名称:SyAutoH,代码行数:15,代码来源:iMesLink.cs

示例5: checkedCast

 public static sys_role_permission_rpcPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     sys_role_permission_rpcPrx r = b as sys_role_permission_rpcPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         sys_role_permission_rpcPrxHelper h = new sys_role_permission_rpcPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:15,代码来源:minie_entity.cs

示例6: checkedCast

 public static BufferTransferPrx checkedCast(Ice.ObjectPrx b, Ice.Context ctx)
 {
     if(b == null)
     {
         return null;
     }
     if(b is BufferTransferPrx)
     {
         return (BufferTransferPrx)b;
     }
     if(b.ice_isA("::InfoDTV::Multiplexer::Dynamic::Provider::BufferTransfer", ctx))
     {
         BufferTransferPrxHelper h = new BufferTransferPrxHelper();
         h.copyFrom__(b);
         return h;
     }
     return null;
 }
开发者ID:vvhh2003,项目名称:InfoDTV,代码行数:18,代码来源:ICEBufferSender.cs

示例7: hasBoxType

 /// <summary>
 /// Determines whether specified functions object (<c>functionsPrx</c>)
 /// is satisfy specified box type (<c>boxType</c>) i.e. whether
 /// functions object implements required functions and its box module
 /// has required sockets.
 /// </summary>
 /// <param name="boxType">Required type of the box.</param>
 /// <param name="functionsPrx">The functions object`s proxy.</param>
 /// <param name="sockets">The sockets of box module to which the functions object belongs to.</param>
 /// <returns>
 /// <c>true</c> if the specified functions object 
 /// <see cref="M:Ice.ObjectPrx.ice_isA(System.String)">
 /// implements required functions</see> and and its box module 
 /// <see cref="M:Ferda.Modules.BoxModuleI.hasSockets(Ferda.Modules.NeededSocket[],Ferda.Modules.SocketInfo[])">
 /// has required sockets</see>.
 /// </returns>
 private static bool hasBoxType(BoxType boxType, Ice.ObjectPrx functionsPrx, SocketInfo[] sockets)
 {
     return functionsPrx.ice_isA(boxType.functionIceId) &&
         hasSockets(boxType.neededSockets, sockets);
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:21,代码来源:BoxModuleI.cs

示例8: checkedCast

 public static CallbackReceiverPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     CallbackReceiverPrx r = b as CallbackReceiverPrx;
     if((r == null) && b.ice_isA("::KeeICE::KPlib::CallbackReceiver"))
     {
         CallbackReceiverPrxHelper h = new CallbackReceiverPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:hathagat,项目名称:KeeFox,代码行数:15,代码来源:KeeICE.cs

示例9: checkedCast

 public static SessionPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     SessionPrx r = b as SessionPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         SessionPrxHelper h = new SessionPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:15,代码来源:minie_service_base.cs

示例10: checkedCast

 public static VSClientPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     VSClientPrx r = b as VSClientPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         VSClientPrxHelper h = new VSClientPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:Firemann,项目名称:veryseriousgame,代码行数:15,代码来源:network.cs

示例11: checkedCast

 public static RepoApiPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     RepoApiPrx r = b as RepoApiPrx;
     if((r == null) && b.ice_isA("::RepoIce::RepoApi", ctx))
     {
         RepoApiPrxHelper h = new RepoApiPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:nfrey,项目名称:qreal,代码行数:15,代码来源:repoclientice.cs

示例12: checkedCast

 public static MetaPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MetaPrx r = b as MetaPrx;
     if((r == null) && b.ice_isA("::Murmur::Meta"))
     {
         MetaPrxHelper h = new MetaPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:15,代码来源:Murmur.cs

示例13: checkedCast

 public static CertSignerPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     CertSignerPrx r = b as CertSignerPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         CertSignerPrxHelper h = new CertSignerPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:Netoperek,项目名称:ClienBankIce,代码行数:15,代码来源:CertSigner.cs

示例14: checkedCast

 public static BaseToBotPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     BaseToBotPrx r = b as BaseToBotPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         BaseToBotPrxHelper h = new BaseToBotPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:15,代码来源:R2Comm.cs

示例15: ice_isA___

 public static DispatchStatus ice_isA___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
 {
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string __id = is__.readString();
     inS__.endReadParams();
     bool __ret = __obj.ice_isA(__id, __current);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(FormatType.DefaultFormat);
     os__.writeBool(__ret);
     inS__.endWriteParams__(true);
     return DispatchStatus.DispatchOK;
 }
开发者ID:Radulfr,项目名称:zeroc-ice,代码行数:11,代码来源:Object.cs


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