Esempio n. 1
0
        public override void Deserialize(BinaryReader reader)
        {
            byte[] ___masking___ = new byte[1];
            byte   firstByte     = reader.ReadByte();

            if (firstByte == 0)
            {
                s0_RowGuid.Deserialize(reader);
                s0_RecognizedText.Deserialize(reader);
                s0_InkIsf.Deserialize(reader);
                s0_Weight.Deserialize(reader);
            }
            else
            {
                ___masking___[0] = firstByte;
                s0_RowGuid.Deserialize(reader);
                if ((___masking___[0] & 2) != 2)
                {
                    s0_RecognizedText.Deserialize(reader);
                }
                else
                {
                    s0_RecognizedText.SetNull();
                }
                if ((___masking___[0] & 4) != 4)
                {
                    s0_InkIsf.Deserialize(reader);
                }
                else
                {
                    s0_InkIsf.SetNull();
                }
                s0_Weight.Deserialize(reader);
            }
        }
Esempio n. 2
0
        public override void Deserialize(BinaryReader reader)
        {
            byte[] ___masking___ = new byte[1];
            byte   firstByte     = reader.ReadByte();

            if (firstByte == 0)
            {
                s0_RowGuid.Deserialize(reader);
                s0_InputLanguage.Deserialize(reader);
                s0_Branch.Deserialize(reader);
                s0_FinalText.Deserialize(reader);
                s0_InkIsf.Deserialize(reader);
            }
            else
            {
                ___masking___[0] = firstByte;
                s0_RowGuid.Deserialize(reader);
                if ((___masking___[0] & 2) != 2)
                {
                    s0_InputLanguage.Deserialize(reader);
                }
                else
                {
                    s0_InputLanguage.SetNull();
                }
                if ((___masking___[0] & 4) != 4)
                {
                    s0_Branch.Deserialize(reader);
                }
                else
                {
                    s0_Branch.SetNull();
                }
                if ((___masking___[0] & 8) != 8)
                {
                    s0_FinalText.Deserialize(reader);
                }
                else
                {
                    s0_FinalText.SetNull();
                }
                if ((___masking___[0] & 16) != 16)
                {
                    s0_InkIsf.Deserialize(reader);
                }
                else
                {
                    s0_InkIsf.SetNull();
                }
            }
        }