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


C# IceInternal.writeObject方法代码示例

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


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

示例1: writeImpl__

 protected virtual void writeImpl__(IceInternal.BasicStream os__)
 {
     os__.startWriteSlice(ice_staticId(), -1, true);
     os__.writeString(id__prop);
     os__.writeObject(node__prop);
     os__.writeObject(user__prop);
     os__.writeInt(host_flag__prop);
     os__.writeObject(creator__prop);
     os__.writeString(creation_time__prop);
     os__.endWriteSlice();
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:11,代码来源:minie_entity.cs

示例2: write

 public static void write(IceInternal.BasicStream os__, _System.Collections.Generic.List<minie.irpc.cm_entrance_rpc> v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Count);
         for(int ix__ = 0; ix__ < v__.Count; ++ix__)
         {
             os__.writeObject(v__[ix__]);
         }
     }
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:15,代码来源:minie_entity.cs

示例3: write

 public static void write(IceInternal.BasicStream os__, Murmur.Tree[] v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Length);
         for(int ix__ = 0; ix__ < v__.Length; ++ix__)
         {
             os__.writeObject(v__[ix__]);
         }
     }
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:15,代码来源:Murmur.cs

示例4: write__

 public override void write__(IceInternal.BasicStream os__)
 {
     os__.writeTypeId(ice_staticId());
     os__.startWriteSlice();
     if(c == null)
     {
         Murmur.Channel tmp__ = new Murmur.Channel();
         tmp__.write__(os__);
     }
     else
     {
         c.write__(os__);
     }
     if(children == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(children.Length);
         for(int ix__ = 0; ix__ < children.Length; ++ix__)
         {
             os__.writeObject(children[ix__]);
         }
     }
     if(users == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(users.Length);
         for(int ix__ = 0; ix__ < users.Length; ++ix__)
         {
             (users[ix__] == null ? new Murmur.User() : users[ix__]).write__(os__);
         }
     }
     os__.endWriteSlice();
     base.write__(os__);
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:40,代码来源:Murmur.cs


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