public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ReadOnly:
                    m_readOnly = reader.ReadBoolean();
                    break;

                case MemberName.Nullable:
                    m_nullable = reader.ReadBoolean();
                    break;

                case MemberName.OmitFromQuery:
                    m_omitFromQuery = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(LookupDestinationInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.IsMultiValue:
                    this.m_isMultiValue = reader.ReadBoolean();
                    break;

                case MemberName.DestinationExpr:
                    this.m_destinationExpr = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.IndexInCollection:
                    this.m_indexInCollection = reader.ReadInt32();
                    break;

                case MemberName.UsedInSameDataSetTablixProcessing:
                    this.m_usedInSameDataSetTablixProcessing = reader.ReadBoolean();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.IsAggregateRow:
                    m_isAggregateRow = reader.ReadBoolean();
                    break;

                case MemberName.AggregationFieldCount:
                    m_aggregationFieldCount = reader.ReadInt32();
                    break;

                case MemberName.ValidAggregateRow:
                    m_validAggregateRow = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(PageBreakProperties.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.PageBreakAtStart:
                    this.m_pageBreakAtStart = reader.ReadBoolean();
                    break;

                case MemberName.PageBreakAtEnd:
                    this.m_pageBreakAtEnd = reader.ReadBoolean();
                    break;

                case MemberName.ResetPageNumber:
                    this.m_resetPageNumber = reader.ReadBoolean();
                    break;

                case MemberName.Source:
                {
                    int id = reader.ReadInt32();
                    this.m_source = scalabilityCache.FetchStaticReference(id);
                    break;
                }

                default:
                    RSTrace.RenderingTracer.Assert(false, string.Empty);
                    break;
                }
            }
        }
예제 #5
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Value:
                    m_odpParameter.SetValues(reader.ReadVariantArray());
                    break;

                case MemberName.Label:
                    m_odpParameter.SetLabels(reader.ReadStringArray());
                    break;

                case MemberName.IsMultiValue:
                    m_odpParameter.SetIsMultiValue(reader.ReadBoolean());
                    break;

                case MemberName.Prompt:
                    m_odpParameter.SetPrompt(reader.ReadString());
                    break;

                case MemberName.IsUserSupplied:
                    m_odpParameter.SetIsUserSupplied(reader.ReadBoolean());
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(OpenXmlTableRowPropertiesModel.GetDeclaration());
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.RowHeight:
                    this._height = reader.ReadSingle();
                    break;

                case MemberName.LeftIndent:
                    this._rowIndent = reader.ReadSingle();
                    break;

                case MemberName.ExactRowHeight:
                    this._exactRowHeight = reader.ReadBoolean();
                    break;

                case MemberName.IgnoreRowHeight:
                    this._ignoreRowHeight = reader.ReadBoolean();
                    break;

                case MemberName.TopPadding:
                    this._maxPaddingTop = reader.ReadSingle();
                    break;

                case MemberName.BottomPadding:
                    this._maxPaddingBottom = reader.ReadSingle();
                    break;

                case MemberName.TopBorder:
                    this._borderTop = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.BottomBorder:
                    this._borderBottom = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.LeftBorder:
                    this._borderLeft = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.RightBorder:
                    this._borderRight = (OpenXmlBorderPropertiesModel)reader.ReadRIFObject();
                    break;

                case MemberName.Color:
                    this._bgColor = reader.ReadString();
                    break;

                default:
                    WordOpenXmlUtils.FailSerializable();
                    break;
                }
            }
        }
예제 #7
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ReportObjectModel:
                {
                    int id2 = reader.ReadInt32();
                    m_reportOM = (ObjectModelImpl)scalabilityCache.FetchStaticReference(id2);
                    break;
                }

                case MemberName.Value:
                    m_value = reader.ReadVariant();
                    break;

                case MemberName.IsAggregateField:
                    m_isAggregationField = reader.ReadBoolean();
                    break;

                case MemberName.AggregationFieldChecked:
                    m_aggregationFieldChecked = reader.ReadBoolean();
                    break;

                case MemberName.FieldStatus:
                    m_fieldStatus = (DataFieldStatus)reader.ReadEnum();
                    break;

                case MemberName.Message:
                    m_exceptionMessage = reader.ReadString();
                    break;

                case MemberName.Properties:
                    m_properties = reader.ReadStringObjectHashtable <Hashtable>();
                    break;

                case MemberName.FieldDef:
                {
                    int id = reader.ReadInt32();
                    m_fieldDef = (Microsoft.ReportingServices.ReportIntermediateFormat.Field)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.UsedInExpression:
                    m_usedInExpression = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #8
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.AggregatesSpanGroupFilter:
                    m_aggregatesSpanGroupFilter = reader.ReadBoolean();
                    break;

                case MemberName.AggregatesOfAggregates:
                    m_aggregatesOfAggregates = (BucketedDataAggregateInfos)reader.ReadRIFObject();
                    break;

                case MemberName.PostSortAggregatesOfAggregates:
                    m_postSortAggregatesOfAggregates = (BucketedDataAggregateInfos)reader.ReadRIFObject();
                    break;

                case MemberName.RunningValuesOfAggregates:
                    m_runningValuesOfAggregates = reader.ReadGenericListOfRIFObjects <RunningValueInfo>();
                    break;

                case MemberName.ScopeID:
                    m_scopeID = reader.ReadInt32();
                    break;

                case MemberName.HasAggregatesToUpdateAtRowScope:
                    m_hasAggregatesToUpdateAtRowScope = reader.ReadBoolean();
                    break;

                case MemberName.IsDecomposable:
                    m_isDecomposable = reader.ReadBoolean();
                    break;

                case MemberName.DataSet:
                    m_dataSet = reader.ReadReference <DataSet>(this);
                    break;

                case MemberName.JoinInfo:
                    m_joinInfo = (JoinInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DataPipelineID:
                    m_dataPipelineID = reader.ReadInt32();
                    break;

                case MemberName.GroupingFieldIndicesForServerAggregates:
                    m_groupingFieldIndicesForServerAggregates = reader.ReadListOfPrimitives <int>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #9
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Previous.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.OdpContext:
                {
                    int id = reader.ReadInt32();
                    this.m_odpContext = (OnDemandProcessingContext)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.PreviousValues:
                    this.m_previousValues = reader.ReadVariantListVariantDictionary();
                    break;

                case MemberName.Values:
                    this.m_values = reader.ReadVariantListVariantDictionary();
                    break;

                case MemberName.StartHidden:
                    this.m_startIndex = reader.ReadInt32();
                    break;

                case MemberName.IsScopedInEvaluationScope:
                    this.m_isScopedInEvaluationScope = reader.ReadBoolean();
                    break;

                case MemberName.Previous:
                    this.m_previous = reader.ReadVariant();
                    break;

                case MemberName.PreviousEnabled:
                    this.m_previousEnabled = reader.ReadBoolean();
                    break;

                case MemberName.HasNoExplicitScope:
                    this.m_hasNoExplicitScope = reader.ReadBoolean();
                    break;

                case MemberName.Value:
                    this.m_value = reader.ReadVariant();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            this.m_isDataRegion = (base.m_dataSetName != null);
            reader.RegisterDeclaration(CustomReportItem.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataColumnMembers:
                    this.m_dataColumnMembers = reader.ReadListOfRIFObjects <DataMemberList>();
                    break;

                case MemberName.DataRowMembers:
                    this.m_dataRowMembers = reader.ReadListOfRIFObjects <DataMemberList>();
                    break;

                case MemberName.DataRows:
                    this.m_dataRows = reader.ReadListOfRIFObjects <CustomDataRowList>();
                    break;

                case MemberName.Type:
                    this.m_type = reader.ReadString();
                    break;

                case MemberName.AltReportItem:
                    this.m_altReportItem = reader.ReadReference <ReportItem>(this);
                    break;

                case MemberName.AltReportItemIndexInParentCollectionDef:
                    this.m_altReportItemIndexInParentCollectionDef = reader.ReadInt32();
                    break;

                case MemberName.RenderReportItemColDef:
                    this.m_renderReportItem = (ReportItemCollection)reader.ReadRIFObject();
                    break;

                case MemberName.ExplicitAltReportItem:
                    this.m_explicitAltReportItemDefined = reader.ReadBoolean();
                    break;

                case MemberName.IsDataRegion:
                    this.m_isDataRegion = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #11
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Page:
                    m_page = (Page)reader.ReadRIFObject();
                    break;

                case MemberName.ReportItems:
                    m_reportItems = (ReportItemCollection)reader.ReadRIFObject();
                    break;

                case MemberName.TextboxesInScope:
                    m_textboxesInScope = reader.ReadByteArray();
                    break;

                case MemberName.VariablesInScope:
                    m_variablesInScope = reader.ReadByteArray();
                    break;

                case MemberName.NeedsTotalPages:
                case MemberName.NeedsOverallTotalPages:
                    m_needsOverallTotalPages = reader.ReadBoolean();
                    break;

                case MemberName.NeedsPageBreakTotalPages:
                    m_needsPageBreakTotalPages = reader.ReadBoolean();
                    break;

                case MemberName.NeedsReportItemsOnPage:
                    m_needsReportItemsOnPage = reader.ReadBoolean();
                    break;

                case MemberName.InScopeTextBoxes:
                    m_inScopeTextBoxes = reader.ReadGenericListOfReferences <TextBox>(this);
                    break;

                case MemberName.LayoutDirection:
                    m_layoutDirection = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        void IPersistable.Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(CalculatedFieldWrapperImpl.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.FieldDef:
                {
                    int id2 = reader.ReadInt32();
                    this.m_fieldDef = (AspNetCore.ReportingServices.ReportIntermediateFormat.Field)scalabilityCache.FetchStaticReference(id2);
                    break;
                }

                case MemberName.Value:
                    this.m_value = reader.ReadVariant();
                    break;

                case MemberName.IsValueReady:
                    this.m_isValueReady = reader.ReadBoolean();
                    break;

                case MemberName.IsVisited:
                    this.m_isVisited = reader.ReadBoolean();
                    break;

                case MemberName.ReportRuntime:
                {
                    int id = reader.ReadInt32();
                    this.m_reportRT      = (AspNetCore.ReportingServices.RdlExpressions.ReportRuntime)scalabilityCache.FetchStaticReference(id);
                    this.m_iErrorContext = this.m_reportRT;
                    break;
                }

                case MemberName.ErrorOccurred:
                    this.m_errorOccurred = reader.ReadBoolean();
                    break;

                case MemberName.ExceptionMessage:
                    this.m_exceptionMessage = reader.ReadString();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #13
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Action.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ActionItemList:
                    this.m_actionItemList = reader.ReadGenericListOfRIFObjects <ActionItem>();
                    break;

                case MemberName.StyleClass:
                    this.m_styleClass = (Style)reader.ReadRIFObject();
                    break;

                case MemberName.TrackFieldsUsedInValueExpression:
                    this.m_trackFieldsUsedInValueExpression = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #14
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Hidden:
                    m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Toggle:
                    m_toggle = reader.ReadString();
                    break;

                case MemberName.RecursiveReceiver:
                    m_recursiveReceiver = reader.ReadBoolean();
                    break;

                case MemberName.ToggleSender:
                    m_toggleSender = reader.ReadReference <TextBox>(this);
                    break;

                case MemberName.RecursiveMember:
                    m_recursiveMember = reader.ReadReference <TablixMember>(this);
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #15
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Variable.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

                case MemberName.Value:
                    this.m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DataType:
                    this.m_constantDataType = (DataType)reader.ReadEnum();
                    break;

                case MemberName.SequenceID:
                    this.m_sequenceID = reader.ReadInt32();
                    break;

                case MemberName.Writable:
                    this.m_writable = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #16
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            this.m_streamPosition = reader.ObjectStartPosition;
            reader.RegisterDeclaration(RecordRow.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.RecordFields:
                    this.m_recordFields = reader.ReadArrayOfRIFObjects <RecordField>();
                    break;

                case MemberName.IsAggregateRow:
                    this.m_isAggregateRow = reader.ReadBoolean();
                    break;

                case MemberName.AggregationFieldCount:
                    this.m_aggregationFieldCount = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #17
0
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.JoinConditions:
                    m_joinConditions = reader.ReadGenericListOfRIFObjects <JoinCondition>();
                    break;

                case MemberName.NaturalJoin:
                    m_naturalJoin = reader.ReadBoolean();
                    break;

                case MemberName.RelatedDataSet:
                    m_relatedDataSet = reader.ReadReference <DataSet>(this);
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #18
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ImageInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.StreamName:
                    this.m_streamName = reader.ReadString();
                    break;

                case MemberName.MIMEType:
                    this.m_mimeType = reader.ReadString();
                    break;

                case MemberName.ErrorOccurred:
                    this.m_errorOccurred = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(RunningValueInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Scope:
                    this.m_scope = reader.ReadString();
                    break;

                case MemberName.TotalGroupingExpressionCount:
                    this.m_totalGroupingExpressionCount = reader.ReadInt32();
                    break;

                case MemberName.IsScopedInEvaluationScope:
                    this.m_isScopedInEvaluationScope = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #20
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ReportInstance.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.NoRows:
                    this.m_noRows = reader.ReadBoolean();
                    break;

                case MemberName.Language:
                    this.m_language = reader.ReadString();
                    break;

                case MemberName.Variables:
                    this.m_variables = reader.ReadVariantArray();
                    break;

                case MemberName.SerializableVariables:
                    this.m_variables = reader.ReadSerializableArray();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #21
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(RecordField.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.FieldStatus:
                    this.m_fieldStatus = (DataFieldStatus)reader.ReadEnum();
                    break;

                case MemberName.FieldValue:
                    this.m_fieldValue = reader.ReadVariant();
                    break;

                case MemberName.FieldValueSerializable:
                    this.m_fieldValue = reader.ReadSerializable();
                    break;

                case MemberName.IsAggregateField:
                    this.m_isAggregationField = reader.ReadBoolean();
                    break;

                case MemberName.FieldPropertyValues:
                    this.m_fieldPropertyValues = reader.ReadListOfPrimitives <object>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #22
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(Rectangle.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ReportItems:
                    this.m_reportItems = (ReportItemCollection)reader.ReadRIFObject();
                    break;

                case MemberName.PageBreakLocation:
                    this.m_pageBreak = new PageBreak();
                    this.m_pageBreak.BreakLocation = (PageBreakLocation)reader.ReadEnum();
                    break;

                case MemberName.LinkToChild:
                    this.m_linkToChild = reader.ReadInt32();
                    break;

                case MemberName.OmitBorderOnPageBreak:
                    this.m_omitBorderOnPageBreak = reader.ReadBoolean();
                    break;

                case MemberName.KeepTogether:
                    this.m_keepTogether = reader.ReadBoolean();
                    break;

                case MemberName.IsSimple:
                    this.m_isSimple = reader.ReadBoolean();
                    break;

                case MemberName.PageBreak:
                    this.m_pageBreak = (PageBreak)reader.ReadRIFObject();
                    break;

                case MemberName.PageName:
                    this.m_pageName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #23
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(TextRun.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Value:
                    this.m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ToolTip:
                    this.m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Style:
                    this.m_styleClass = (Style)reader.ReadRIFObject();
                    break;

                case MemberName.Label:
                    this.m_label = reader.ReadString();
                    break;

                case MemberName.MarkupType:
                    this.m_markupType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Action:
                    this.m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.DataType:
                    this.m_constantDataType = (DataType)reader.ReadEnum();
                    break;

                case MemberName.IndexInCollection:
                    this.m_indexInCollection = reader.ReadInt32();
                    break;

                case MemberName.Paragraph:
                    this.m_paragraph = reader.ReadReference <Paragraph>(this);
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.ValueReferenced:
                    this.m_valueReferenced = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(DataAggregateObj.m_declaration);
            IScalabilityCache scalabilityCache = reader.PersistenceHelper as IScalabilityCache;

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.NonAggregateMode:
                    this.m_nonAggregateMode = reader.ReadBoolean();
                    break;

                case MemberName.Aggregator:
                    this.m_aggregator = (DataAggregate)reader.ReadRIFObject();
                    break;

                case MemberName.AggregateDef:
                {
                    int id2 = reader.ReadInt32();
                    this.m_aggregateDef = (DataAggregateInfo)scalabilityCache.FetchStaticReference(id2);
                    break;
                }

                case MemberName.ReportRuntime:
                {
                    int id = reader.ReadInt32();
                    this.m_reportRT = (AspNetCore.ReportingServices.RdlExpressions.ReportRuntime)scalabilityCache.FetchStaticReference(id);
                    break;
                }

                case MemberName.UsedInExpression:
                    this.m_usedInExpression = reader.ReadBoolean();
                    break;

                case MemberName.AggregateResult:
                    this.m_aggregateResult = (DataAggregateObjResult)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #25
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(PageSection.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.PrintOnFirstPage:
                    this.m_printOnFirstPage = reader.ReadBoolean();
                    break;

                case MemberName.PrintOnLastPage:
                    this.m_printOnLastPage = reader.ReadBoolean();
                    break;

                case MemberName.ReportItems:
                    this.m_reportItems = (ReportItemCollection)reader.ReadRIFObject();
                    break;

                case MemberName.PostProcessEvaluate:
                    this.m_postProcessEvaluate = reader.ReadBoolean();
                    break;

                case MemberName.PrintBetweenSections:
                    this.m_printBetweenSections = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
            if (base.m_name == null)
            {
                if (this.IsHeader)
                {
                    base.m_name = "PageHeader";
                }
                else
                {
                    base.m_name = "PageFooter";
                }
            }
        }
예제 #26
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(LookupInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ResultExpr:
                    this.m_resultExpr = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DataSetName:
                    this.m_dataSetName = reader.ReadString();
                    break;

                case MemberName.SourceExpr:
                    this.m_sourceExpr = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.IsMultiValue:
                    if (reader.ReadBoolean())
                    {
                        this.m_lookupType = LookupType.LookupSet;
                    }
                    else
                    {
                        this.m_lookupType = LookupType.Lookup;
                    }
                    break;

                case MemberName.DestinationIndexInCollection:
                    this.m_destinationIndexInCollection = reader.ReadInt32();
                    break;

                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.DataSetIndexInCollection:
                    this.m_dataSetIndexInCollection = reader.ReadInt32();
                    break;

                case MemberName.LookupType:
                    this.m_lookupType = (LookupType)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ErrorOccurred:
                    ErrorOccurred = reader.ReadBoolean();
                    break;

                case MemberName.Value:
                    Value = reader.ReadVariant();
                    break;

                case MemberName.HasCode:
                    HasCode = reader.ReadBoolean();
                    break;

                case MemberName.Code:
                    Code = (ProcessingErrorCode)reader.ReadEnum();
                    break;

                case MemberName.Severity:
                    Severity = (Severity)reader.ReadEnum();
                    break;

                case MemberName.FieldStatus:
                    FieldStatus = (DataFieldStatus)reader.ReadEnum();
                    break;

                case MemberName.Arguments:
                    Arguments = reader.ReadStringArray();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ScalableDictionary <TKey, TValue> .m_declaration);
            IScalabilityCache scalabilityCache = this.m_scalabilityCache = (reader.PersistenceHelper as IScalabilityCache);

            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.NodeCapacity:
                    this.m_nodeCapacity = reader.ReadInt32();
                    break;

                case MemberName.ValuesCapacity:
                    this.m_valuesCapacity = reader.ReadInt32();
                    break;

                case MemberName.Comparer:
                {
                    int id = reader.ReadInt32();
                    if (scalabilityCache.CacheType == ScalabilityCacheType.Standard)
                    {
                        this.m_comparer = (IEqualityComparer <TKey>)scalabilityCache.FetchStaticReference(id);
                    }
                    break;
                }

                case MemberName.Count:
                    this.m_count = reader.ReadInt32();
                    break;

                case MemberName.Version:
                    this.m_version = reader.ReadInt32();
                    break;

                case MemberName.Root:
                    this.m_root = (ScalableDictionaryNodeReference)reader.ReadRIFObject();
                    break;

                case MemberName.UseFixedReferences:
                    this.m_useFixedReferences = reader.ReadBoolean();
                    break;

                case MemberName.Priority:
                    this.m_priority = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #29
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Sorting.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.SortExpressions:
                    this.m_sortExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.SortDirections:
                    this.m_sortDirections = reader.ReadListOfPrimitives <bool>();
                    break;

                case MemberName.NaturalSortFlags:
                    this.m_naturalSortFlags = reader.ReadListOfPrimitives <bool>();
                    break;

                case MemberName.NaturalSort:
                    this.m_naturalSort = reader.ReadBoolean();
                    break;

                case MemberName.DeferredSortFlags:
                    this.m_deferredSortFlags = reader.ReadListOfPrimitives <bool>();
                    break;

                case MemberName.DeferredSort:
                    this.m_deferredSort = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
예제 #30
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(AttributeInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.IsExpression:
                    this.m_isExpression = reader.ReadBoolean();
                    break;

                case MemberName.StringValue:
                    this.m_stringValue = reader.ReadString();
                    break;

                case MemberName.BoolValue:
                    this.m_boolValue = reader.ReadBoolean();
                    break;

                case MemberName.IntValue:
                    this.m_intValue = reader.ReadInt32();
                    break;

                case MemberName.FloatValue:
                    this.m_floatValue = reader.ReadDouble();
                    break;

                case MemberName.ValueType:
                    this.m_valueType = (ValueType)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }