Example #1
0
        public override void ReadData(FastBinaryReader reader, Object additionalInfo)
        {
            Root = (RICustomData)reader.Tag;
            base.ReadData(reader, additionalInfo);

            Expanded = reader.ReadBoolean();
            Caption  = reader.ReadSafeString();

            Children = new List <RICustomDataElement>();
            Int32 elementCount = reader.ReadInt32();

            for (Int32 i = 0; i < elementCount; i++)
            {
                Int32 elementTypeHash = reader.ReadInt32();
                if (elementTypeHash == RICustomDataFieldTypeHash)
                {
                    Children.Add(reader.ReadObject <RICustomDataField>());
                }
                else if (elementTypeHash == RICustomDataRowTypeHash)
                {
                    Children.Add(reader.ReadObject <RICustomDataRow>());
                }
                else if (elementTypeHash == RICustomDataCategoryTypeHash)
                {
                    Children.Add(reader.ReadObject <RICustomDataCategory>());
                }
                else if (elementTypeHash == RICustomDataContainerTypeHash)
                {
                    Children.Add(reader.ReadObject <RICustomData>());
                }
            }
        }
 public virtual void ReadData(FastBinaryReader reader, Object additionalInfo)
 {
     // Version 5.0 data types
     FSequenceID           = reader.ReadInt32();
     FSessionID            = reader.ReadUInt32();
     FRequestID            = reader.ReadUInt32();
     FSourceUtcOffset      = reader.ReadInt16();
     FDateTime             = reader.ReadDateTime();
     FDomainID             = reader.ReadInt32();
     FProcessID            = reader.ReadInt32();
     FThreadID             = reader.ReadInt32();
     FCategory             = reader.ReadString();
     FApplication          = reader.ReadString();
     FMachineName          = reader.ReadString();
     FUserDomainName       = reader.ReadString();
     FUserName             = reader.ReadString();
     FIndentLevel          = reader.ReadSByte();
     FBkColor              = Color.FromArgb(reader.ReadInt32());
     FMessageType          = (MessageType)reader.ReadInt32();
     FMessageSubType       = reader.ReadByte();
     FMessage              = reader.ReadString();
     FDetailType           = reader.ReadInt32();
     FExtPropertyContainer = reader.ReadObject <ReflectInsightPropertiesContainer>();
     FSubDetails           = reader.ReadObject <FastSerializerObjectData>();
     FDetails              = reader.ReadObject <FastSerializerObjectData>();
 }
 public virtual void ReadData(FastBinaryReader reader, Object additionalInfo)
 {
     FFilterInfo    = reader.ReadObject <FilterInfo>();
     FFilterDefined = reader.ReadBoolean();
     FMessages      = ReadBooleanArray(reader);
     FCheckpoints   = ReadBooleanArray(reader);
     FCheckmarks    = ReadBooleanArray(reader);
     FLevels        = ReadBooleanArray(reader);
 }
Example #4
0
        public override void ReadData(FastBinaryReader reader, Object additionalInfo)
        {
            Root = (RICustomData)reader.Tag;
            base.ReadData(reader, additionalInfo);

            FExtraData         = reader.ReadObject <FastSerializerObjectData>();
            FExtraDataTypeHash = reader.ReadInt32();
            Fields             = new List <RICustomDataField>();
            Fields.AddRange(reader.ReadEnumerable <RICustomDataField>());
        }
Example #5
0
        public override void ReadData(FastBinaryReader reader, Object additionalInfo)
        {
            base.ReadData(reader, additionalInfo);

            FVersion        = reader.ReadObject <SerializedVersion>();
            Signature       = reader.ReadByteArray();
            Id              = reader.ReadString();
            FInitDateTime   = reader.ReadDateTime();
            FFirstDateTime  = reader.ReadDateTime();
            FLastDateTime   = reader.ReadDateTime();
            FNextSequenceId = reader.ReadInt32();
            FMessageCount   = reader.ReadInt32();
        }
Example #6
0
 public virtual void ReadData(FastBinaryReader reader, Object additionalInfo)
 {
     // Version 5.0 data types
     RequestType = (MessageRequestType)reader.ReadInt32();
     Request     = reader.ReadObject <FastSerializerObjectData>();
 }