Пример #1
0
 public void ReadPortable(IPortableReader reader)
 {
     Bool        = reader.ReadBoolean("bool");
     BoolArray   = reader.ReadBooleanArray("boolArray");
     Byte        = reader.ReadByte("byte");
     ByteArray   = reader.ReadByteArray("byteArray");
     Char        = reader.ReadChar("char");
     CharArray   = reader.ReadCharArray("charArray");
     Short       = reader.ReadShort("short");
     ShortArray  = reader.ReadShortArray("shortArray");
     Int         = reader.ReadInt("int");
     IntArray    = reader.ReadIntArray("intArray");
     Long        = reader.ReadLong("long");
     LongArray   = reader.ReadLongArray("longArray");
     Float       = reader.ReadFloat("float");
     FloatArray  = reader.ReadFloatArray("floatArray");
     Double      = reader.ReadDouble("double");
     DoubleArray = reader.ReadDoubleArray("doubleArray");
     String      = reader.ReadUTF("string");
     StringArray = reader.ReadUTFArray("stringArray");
 }
 public void ReadPortable(IPortableReader reader)
 {
     Bool = reader.ReadBoolean("bool");
     BoolArray = reader.ReadBooleanArray("boolArray");
     Byte = reader.ReadByte("byte");
     ByteArray = reader.ReadByteArray("byteArray");
     Char = reader.ReadChar("char");
     CharArray = reader.ReadCharArray("charArray");
     Short = reader.ReadShort("short");
     ShortArray = reader.ReadShortArray("shortArray");
     Int = reader.ReadInt("int");
     IntArray = reader.ReadIntArray("intArray");
     Long = reader.ReadLong("long");
     LongArray = reader.ReadLongArray("longArray");
     Float = reader.ReadFloat("float");
     FloatArray = reader.ReadFloatArray("floatArray");
     Double = reader.ReadDouble("double");
     DoubleArray = reader.ReadDoubleArray("doubleArray");
     String = reader.ReadUTF("string");
     StringArray = reader.ReadUTFArray("stringArray");
 }