本文整理汇总了C#中IceInternal.writeTypeId方法的典型用法代码示例。如果您正苦于以下问题:C# IceInternal.writeTypeId方法的具体用法?C# IceInternal.writeTypeId怎么用?C# IceInternal.writeTypeId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IceInternal
的用法示例。
在下文中一共展示了IceInternal.writeTypeId方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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__);
}
示例2: write__
public override void write__(IceInternal.BasicStream os__)
{
os__.writeTypeId(ice_staticId());
os__.startWriteSlice();
os__.endWriteSlice();
base.write__(os__);
}
示例3: write__
public virtual void write__(IceInternal.BasicStream os__)
{
os__.writeTypeId(ice_staticId());
os__.startWriteSlice();
os__.writeSize(0); // For compatibility with the old AFM.
os__.endWriteSlice();
}