本文整理汇总了C#中SerializationWriter.WritePointer方法的典型用法代码示例。如果您正苦于以下问题:C# SerializationWriter.WritePointer方法的具体用法?C# SerializationWriter.WritePointer怎么用?C# SerializationWriter.WritePointer使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SerializationWriter
的用法示例。
在下文中一共展示了SerializationWriter.WritePointer方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public virtual void Serialize(SerializationWriter writer)
{
writer.WritePointer(codelets); // info.AddValue("codelets", codelets)
}
示例2: Serialize
public void Serialize(SerializationWriter writer)
{
writer.WritePointer(strength);
}
示例3: Serialize
public virtual void Serialize(SerializationWriter writer)
{
writer.WritePointer(arena);
writer.Write(salience);
}
示例4: Serialize
public void Serialize(SerializationWriter writer)
{
writer.WritePointer(one);
writer.WritePointer(two);
}
示例5: Serialize
public void Serialize(SerializationWriter writer)
{
writer.Write(name);
writer.Write(senses.Count);
foreach (KeyValuePair<PhraseSense, double> sense in senses)
{
writer.WritePointer(sense.Key);
writer.Write(sense.Value);
}
}
示例6: Serialize
public override void Serialize(SerializationWriter writer)
{
writer.WritePointer(coderack); //info.AddValue("coderack", coderack)
writer.Write(salience); // info.AddValue("salience", salience)
writer.Write(space); // info.AddValue("space", space)
writer.Write(time); // info.AddValue("time", time)
writer.Write(children); // info.AddValue("children", children)
writer.Write(watched); // info.AddValue("watched", watched)
writer.Write(immune); // info.AddValue("immune", immune)
}