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


C# SerializationWriter.WritePointer方法代码示例

本文整理汇总了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)
 }
开发者ID:killix,项目名称:Virsona-ChatBot-Tools,代码行数:4,代码来源:Coderack.cs

示例2: Serialize

 public void Serialize(SerializationWriter writer)
 {
     writer.WritePointer(strength);
 }
开发者ID:killix,项目名称:Virsona-ChatBot-Tools,代码行数:4,代码来源:PhraseAttribute.cs

示例3: Serialize

 public virtual void Serialize(SerializationWriter writer)
 {
     writer.WritePointer(arena);
     writer.Write(salience);
 }
开发者ID:jhashemi,项目名称:Virsona-ChatBot-Tools,代码行数:5,代码来源:Agents.cs

示例4: Serialize

 public void Serialize(SerializationWriter writer)
 {
     writer.WritePointer(one);
     writer.WritePointer(two);
 }
开发者ID:sarang25491,项目名称:Virsona-ChatBot-Tools,代码行数:5,代码来源:DoubleReceiver.cs

示例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);
     }
 }
开发者ID:killix,项目名称:Virsona-ChatBot-Tools,代码行数:10,代码来源:InformedPhrase.cs

示例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)
 }
开发者ID:killix,项目名称:Virsona-ChatBot-Tools,代码行数:10,代码来源:Codelet.cs


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