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