public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(FColor);
     writer.Write(FHue);
     writer.Write(FSaturation);
     writer.Write(FBrightness);
 }
Пример #2
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(SessionId);
     writer.Write(RequestId);
     writer.Write(Sequence);
     writer.WriteByteArray(Chunk);
 }
Пример #3
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(SaveOnNewDay);
     writer.Write(SaveOnMsgLimit);
     writer.Write(RecycleFilesEvery);
     writer.Write(SaveOnSize);
 }
Пример #4
0
        public override void WriteData(FastBinaryWriter writer, Object additionalInfo)
        {
            base.WriteData(writer, additionalInfo);

            writer.Write(Expanded);
            writer.WriteSafeString(Caption);

            // write children
            writer.Write(Children.Count);
            foreach (RICustomDataElement element in Children)
            {
                Int32 elementTypeHash = RICustomDataFieldTypeHash;
                if (element.CustomDataType == RICustomDataElementType.Row)
                {
                    elementTypeHash = RICustomDataRowTypeHash;
                }
                else if (element.CustomDataType == RICustomDataElementType.Category)
                {
                    elementTypeHash = RICustomDataCategoryTypeHash;
                }
                else if (element.CustomDataType == RICustomDataElementType.Container)
                {
                    elementTypeHash = RICustomDataContainerTypeHash;
                }

                writer.Write(elementTypeHash);
                writer.Write(element);
            }
        }
Пример #5
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(FieldTypeId.GetHashCode());
     writer.Write(Justification.GetHashCode());
     writer.WriteSafeString(Caption);
     writer.WriteSafeString(Format);
     writer.WriteSafeString(NullText);
 }
 private static void WriteBooleanArray(FastBinaryWriter writer, Boolean[] array)
 {
     writer.Write(array.Length);
     foreach (Boolean value in array)
     {
         writer.Write(value);
     }
 }
Пример #7
0
        public override void WriteData(FastBinaryWriter writer, Object additionalInfo)
        {
            base.WriteData(writer, additionalInfo);

            writer.Write(FExtraData);
            writer.Write(FExtraDataTypeHash);
            writer.Write(Fields.ToArray());
        }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(FFilterInfo);
     writer.Write(FFilterDefined);
     WriteBooleanArray(writer, FMessages);
     WriteBooleanArray(writer, FCheckpoints);
     WriteBooleanArray(writer, FCheckmarks);
     WriteBooleanArray(writer, FLevels);
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(Caption ?? String.Empty);
     writer.Write((Int16)Properties.Count);
     foreach (String key in Properties.AllKeys)
     {
         writer.Write(key ?? String.Empty);
         writer.Write(Properties[key] ?? String.Empty);
     }
 }
Пример #10
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(SessionId);
     writer.Write(DestinationBinding);
     writer.WriteByteArray(EncryptedKey);
     writer.WriteByteArray(EncryptedIV);
     writer.WriteSafeString(CertificateThumbprint);
     writer.Write(RequestId);
     writer.Write(SequenceCount);
     writer.Write(DecompressedLength);
 }
Пример #11
0
        public override void WriteData(FastBinaryWriter writer, Object additionalInfo)
        {
            base.WriteData(writer, additionalInfo);

            // Hint is no longer used. This line is left here for backward compatibility
            writer.WriteSafeString(null);

            writer.Write(ColumnPos);

            if (writer.WriteNullState(Value))
            {
                switch (Column.FieldTypeId)
                {
                case RICustomDataFieldIdType.Decimal: writer.Write(Decimal.Parse(Value.ToString())); break;

                case RICustomDataFieldIdType.Integer: writer.Write(Int64.Parse(Value.ToString())); break;

                case RICustomDataFieldIdType.DateTime: writer.Write((DateTime)Value); break;

                case RICustomDataFieldIdType.Boolean: writer.Write((Boolean)Value); break;

                case RICustomDataFieldIdType.String: writer.Write(Value.ToString()); break;

                case RICustomDataFieldIdType.Object: writer.Write(Value.ToString()); break;

                case RICustomDataFieldIdType.Unknown: writer.Write(Value.ToString()); break;
                }
            }
        }
Пример #12
0
        public override void WriteData(FastBinaryWriter writer, Object additionalInfo)
        {
            base.WriteData(writer, additionalInfo);

            writer.Write(SerializedVersionHelper.CurrentBinFileVersion);
            writer.WriteByteArray(Signature);
            writer.Write(Id);
            writer.Write(FInitDateTime);
            writer.Write(FFirstDateTime);
            writer.Write(FLastDateTime);
            writer.Write(FNextSequenceId);
            writer.Write(FMessageCount);
        }
Пример #13
0
        public override void WriteData(FastBinaryWriter writer, Object additionalInfo)
        {
            writer.Write(Columns);
            writer.Write(ShowColumns);
            writer.Write(AllowSort);
            writer.Write(IsPropertyGrid);
            writer.Write(HasDetails);
            writer.Write(MaxCategoryLevels);

            base.WriteData(writer, additionalInfo);
        }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.WriteSafeString(FileName);
     writer.Write(FileSize);
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.WriteSafeString(Name);
     writer.Write(Mode.GetHashCode());
     writer.Write(IDs.ToArray());
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     // Version 5.0 data types
     writer.Write(FSequenceID);
     writer.Write(FSessionID);
     writer.Write(FRequestID);
     writer.Write(FSourceUtcOffset);
     writer.Write(FDateTime);
     writer.Write(FDomainID);
     writer.Write(FProcessID);
     writer.Write(FThreadID);
     writer.Write(FCategory);
     writer.Write(FApplication);
     writer.Write(FMachineName);
     writer.Write(FUserDomainName);
     writer.Write(FUserName);
     writer.Write(FIndentLevel);
     writer.Write(FBkColor.ToArgb());
     writer.Write(FMessageType.GetHashCode());
     writer.Write(FMessageSubType);
     writer.Write(FMessage);
     writer.Write(FDetailType);
     writer.Write(FExtPropertyContainer);
     writer.Write(FSubDetails);
     writer.Write(FDetails);
 }
Пример #17
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(RequestType.GetHashCode());
     writer.Write(Request);
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(ExtendedProperties);
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(VersionMajor);
     writer.Write(VersionMinor);
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(FValue);
 }
Пример #21
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(CustomDataType.GetHashCode());
     writer.Write(Level);
 }