Exemple #1
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Details   = objBinaryReader.ReadString();
            Exception = (Exception)objBinaryReader.ReadObject();
        }
Exemple #2
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            int intCount = objBinaryReader.ReadInt32();

            for (int intIndex = 0; intIndex < intCount; intIndex++)
            {
                TObjectType objItem = (TObjectType)objBinaryReader.ReadObject();
                Add(objItem);
            }
        }
Exemple #3
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            int intCount = objBinaryReader.ReadInt32();

            for (int intIndex = 0; intIndex < intCount; intIndex++)
            {
                string strKey   = objBinaryReader.ReadString();
                object objValue = objBinaryReader.ReadObject();

                Settings.Add(strKey, objValue);
            }
        }