Exemple #1
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(EndUserSort.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataSet:
                    this.m_dataSet = reader.ReadReference <DataSet>(this);
                    break;

                case MemberName.SortExpressionScope:
                    this.m_sortExpressionScope = reader.ReadReference <ISortFilterScope>(this);
                    break;

                case MemberName.GroupsInSortTarget:
                    this.m_groupsInSortTarget = reader.ReadListOfReferences <GroupingList, Grouping>(this);
                    break;

                case MemberName.SortTarget:
                    this.m_sortTarget = reader.ReadReference <ISortFilterScope>(this);
                    break;

                case MemberName.SortExpressionIndex:
                    this.m_sortExpressionIndex = reader.ReadInt32();
                    break;

                case MemberName.DetailScopeSubReports:
                    this.m_detailScopeSubReports = reader.ReadGenericListOfReferences <SubReport>(this);
                    break;

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