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 ReflectInsightPackage() { // Version 5.0 data types FSequenceID = 0; FSessionID = 0; FRequestID = 0; FSourceUtcOffset = 0; FDateTime = DateTime.MinValue; FDomainID = 0; FProcessID = 0; FThreadID = 0; FCategory = String.Empty; FApplication = String.Empty; FMachineName = String.Empty; FUserDomainName = String.Empty; FUserName = String.Empty; FIndentLevel = 0; FBkColor = Color.White; FMessageType = MessageType.Clear; FMessageSubType = 0; FMessage = String.Empty; FDetailType = 0; FExtPropertyContainer = null; FSubDetails = null; FDetails = null; }
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>()); }
public void SetExtraData(FastBinaryFormatter ff, IFastBinarySerializable data) { FExtraData = null; FExtraDataTypeHash = 0; if (data != null) { FExtraData = new FastSerializerObjectData(ff, data); FExtraDataTypeHash = (Int32)data.GetType().Name.BKDRHash(); } }
public void SetSubDetails(IFastBinarySerializable subDetails) { if (subDetails == null) { return; } using (var pool = FastFormatterPool.Pool.Container()) { FSubDetails = new FastSerializerObjectData(pool.Instance, subDetails); } }
public void SetDetails(IFastBinarySerializable details, Boolean bSetType) { if (details == null) { if (bSetType) { FDetailType = 0; } return; } if (bSetType) { FDetailType = (Int32)details.GetType().FullName.BKDRHash(); } using (var pool = FastFormatterPool.Pool.Container()) { FDetails = new FastSerializerObjectData(pool.Instance, details); } }
public virtual void ReadData(FastBinaryReader reader, Object additionalInfo) { // Version 5.0 data types RequestType = (MessageRequestType)reader.ReadInt32(); Request = reader.ReadObject <FastSerializerObjectData>(); }
} // depending on the request type, this blob can either be a MessageRequest or MessageSequence object public MessageHeader(FastBinaryFormatter ff, MessageRequestType requestType, IFastBinarySerializable request) { RequestType = requestType; Request = new FastSerializerObjectData(ff, request); }
public void CopyExtraData(RICustomDataRow row) { FExtraData = row.FExtraData; FExtraDataTypeHash = row.FExtraDataTypeHash; }
public void ClearExtraData() { FExtraData = null; FExtraDataTypeHash = 0; }
public void ClearSubDetails() { FSubDetails = null; }
public void ClearDetails() { FDetails = null; }