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


C# Writer.WriteNode方法代码示例

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


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

示例1: WriteNodes

 public override void WriteNodes(Writer writer) {
     for (int i = 0; i < Prisoners.Count; i++) {
         Digger digger = Prisoners[i];
         digger.Label = "[i " + i + "]";
         writer.WriteNode(digger);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:7,代码来源:Diggers.cs

示例2: WriteNodes

 public override void WriteNodes(Writer writer) {
     for (int i = 0; i < Prisoners.Count; i++) {
         Informant informant = Prisoners[i];
         informant.Label = "[i " + i + "]";
         writer.WriteNode(informant);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:7,代码来源:Informants.cs

示例3: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (var prisoner in PenaltyList) {
         foreach (Penalty penalty in prisoner.Value) {
             writer.WriteNode(penalty);
         }
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:7,代码来源:Penalties.cs

示例4: WriteNodes

 public override void WriteNodes(Writer writer) {
     writer.WriteNode(Objects);
     writer.WriteNode(Finance);
     writer.WriteNode(Research);
     writer.WriteNode(Penalties);
     writer.WriteNode(Misconduct);
     writer.WriteNode(Contraband);
     writer.WriteNode(Tunnels);
     writer.WriteNode(Reform);
     writer.WriteNode(Victory);
     writer.WriteNode(Informants);
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:12,代码来源:Prison.cs

示例5: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (ReformStudent student in Students.Values) {
         writer.WriteNode(student);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:5,代码来源:ReformStudents.cs

示例6: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (ResearchItem item in Items) {
         writer.WriteNode(item);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:5,代码来源:Research.cs

示例7: WriteNodes

 public override void WriteNodes(Writer writer) {
     var mergedObjects = OtherObjects.Values.MergeSorted(Prisoners.Values, (o1, o2) => o1.Id - o2.Id);
     foreach (var obj in mergedObjects) {
         writer.WriteNode(obj);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:6,代码来源:Objects.cs

示例8: WriteNodes

 public override void WriteNodes(Writer writer) {
     writer.WriteNode(Students);
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:3,代码来源:ReformProgram.cs

示例9: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (var prisoner in Prisoners) {
         writer.WriteNode(prisoner.Value);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:5,代码来源:ContrabandPrisoners.cs

示例10: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (TunnelCell cell in TunnelCells) {
         writer.WriteNode(cell);
     }
     writer.WriteNode(Diggers);
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:6,代码来源:Tunnels.cs

示例11: WriteNodes

 public override void WriteNodes(Writer writer) {
     writer.WriteNode(Programs);
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:3,代码来源:Reform.cs

示例12: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (VictoryLogEntry entry in Log) {
         writer.WriteNode(entry);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:5,代码来源:VictoryLog.cs

示例13: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (ReformProgram program in Programs) {
         writer.WriteNode(program);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:5,代码来源:ReformPrograms.cs

示例14: WriteNodes

 public override void WriteNodes(Writer writer) {
     writer.WriteNode(Reports);
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:3,代码来源:Misconduct.cs

示例15: WriteNodes

 public override void WriteNodes(Writer writer) {
     foreach (Node report in Reports.Values) {
         writer.WriteNode(report);
     }
 }
开发者ID:tdmike,项目名称:PASaveEditor,代码行数:5,代码来源:MisconductReports.cs


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