Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
 public SourcePathInfo(int index, SourcePathInfo next, IDataWriter baseWriter)
 {
     this.index  = index;
     this.next   = next;
     this.writer = baseWriter;
 }
Ejemplo n.º 3
0
 public ReferenceInfo(TargetPathInfo target, SourcePathInfo source)
 {
     this.target = target;
     this.source = source;
 }
Ejemplo n.º 4
0
 public SourcePathInfo(string name, SourcePathInfo next, IDataWriter writer)
 {
     this.name   = name;
     this.next   = next;
     this.writer = writer;
 }