public void ReadPortable(IPortableReader reader)
 {
     bb = reader.ReadByteArray("b");
     cc = reader.ReadCharArray("c");
     ss = reader.ReadShortArray("s");
     ii = reader.ReadIntArray("i");
     ll = reader.ReadLongArray("l");
     ff = reader.ReadFloatArray("f");
     dd = reader.ReadDoubleArray("d");
     nn = reader.ReadPortableArray <NamedPortable>("nn");
 }
Ejemplo n.º 2
0
        public void ReadPortable(IPortableReader reader)
        {
            bb = reader.ReadByteArray("b");
            cc = reader.ReadCharArray("c");
            ss = reader.ReadShortArray("s");
            ii = reader.ReadIntArray("i");
            ll = reader.ReadLongArray("l");
            ff = reader.ReadFloatArray("f");
            dd = reader.ReadDoubleArray("d");
            var pp = reader.ReadPortableArray("nn");

            nn = new NamedPortable[pp.Length];
            Array.Copy(pp, 0, nn, 0, nn.Length);
        }
 public virtual void TestReadPortableArray()
 {
     Assert.IsNull(reader.ReadPortableArray <MorphingPortable>("NO SUCH FIELD"));
 }
 public void ReadPortable(IPortableReader reader)
 {
     portables = reader.ReadPortableArray("list");
 }
Ejemplo n.º 5
0
 public void ReadPortable(IPortableReader reader)
 {
     portables = reader.ReadPortableArray <TestObject2>("list");
 }
 public void ReadPortable(IPortableReader reader)
 {
     portables = reader.ReadPortableArray("list");
 }
 public void ReadPortable(IPortableReader reader)
 {
     bb = reader.ReadByteArray("b");
     cc = reader.ReadCharArray("c");
     ss = reader.ReadShortArray("s");
     ii = reader.ReadIntArray("i");
     ll = reader.ReadLongArray("l");
     ff = reader.ReadFloatArray("f");
     dd = reader.ReadDoubleArray("d");
     var pp = reader.ReadPortableArray("nn");
     nn = new NamedPortable[pp.Length];
     Array.Copy(pp, 0, nn, 0, nn.Length);
 }