private static void InternalSetSource(SourcePathInfo source, object value) { if (source.next != null) { InternalSetSource(source.next, value); value = RWHelper.GetContent <object>(source.next.writer); } if (source.name != null) { source.writer.As <string>()[source.name].DirectWrite(value); } else { source.writer.As <int>()[source.index].DirectWrite(value); } }
public SourcePathInfo(int index, SourcePathInfo next, IDataWriter baseWriter) { this.index = index; this.next = next; this.writer = baseWriter; }
public ReferenceInfo(TargetPathInfo target, SourcePathInfo source) { this.target = target; this.source = source; }
public SourcePathInfo(string name, SourcePathInfo next, IDataWriter writer) { this.name = name; this.next = next; this.writer = writer; }