本文整理汇总了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);
}
}
示例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);
}
}
示例3: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (var prisoner in PenaltyList) {
foreach (Penalty penalty in prisoner.Value) {
writer.WriteNode(penalty);
}
}
}
示例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);
}
示例5: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (ReformStudent student in Students.Values) {
writer.WriteNode(student);
}
}
示例6: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (ResearchItem item in Items) {
writer.WriteNode(item);
}
}
示例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);
}
}
示例8: WriteNodes
public override void WriteNodes(Writer writer) {
writer.WriteNode(Students);
}
示例9: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (var prisoner in Prisoners) {
writer.WriteNode(prisoner.Value);
}
}
示例10: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (TunnelCell cell in TunnelCells) {
writer.WriteNode(cell);
}
writer.WriteNode(Diggers);
}
示例11: WriteNodes
public override void WriteNodes(Writer writer) {
writer.WriteNode(Programs);
}
示例12: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (VictoryLogEntry entry in Log) {
writer.WriteNode(entry);
}
}
示例13: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (ReformProgram program in Programs) {
writer.WriteNode(program);
}
}
示例14: WriteNodes
public override void WriteNodes(Writer writer) {
writer.WriteNode(Reports);
}
示例15: WriteNodes
public override void WriteNodes(Writer writer) {
foreach (Node report in Reports.Values) {
writer.WriteNode(report);
}
}