コード例 #1
0
        void IPersistable.Serialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatWriter writer)
        {
            base.Serialize(writer);
            writer.RegisterDeclaration(ParameterInfo.m_Declaration);
            while (writer.NextMember())
            {
                switch (writer.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Prompt:
                    writer.Write(this.m_prompt);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicPrompt:
                    writer.Write(this.m_dynamicPrompt);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.IsUserSupplied:
                    writer.Write(this.m_isUserSupplied);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Value:
                    writer.Write(this.m_values);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicValidValues:
                    writer.Write(this.m_dynamicValidValues);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicDefaultValue:
                    writer.Write(this.m_dynamicDefaultValue);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ValidValues:
                    writer.Write(this.m_validValues);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Label:
                    writer.Write(this.m_labels);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DependencyIndexList:
                    this.m_dependencyIndexList = null;
                    if (this.m_dependencyList != null)
                    {
                        this.m_dependencyIndexList = new int[this.m_dependencyList.Count];
                        for (int i = 0; i < this.m_dependencyList.Count; i++)
                        {
                            this.m_dependencyIndexList[i] = this.m_dependencyList[i].IndexInCollection;
                        }
                    }
                    writer.Write(this.m_dependencyIndexList);
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
コード例 #2
0
        void IPersistable.Serialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatWriter writer)
        {
            writer.RegisterDeclaration(ProcessingMessage.m_Declaration);
            while (writer.NextMember())
            {
                switch (writer.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Code:
                    writer.WriteEnum((int)this.m_code);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Severity:
                    writer.WriteEnum((int)this.m_severity);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ObjectType:
                    writer.WriteEnum((int)this.m_objectType);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ObjectName:
                    writer.Write(this.m_objectName);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.PropertyName:
                    writer.Write(this.m_propertyName);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Message:
                    writer.Write(this.m_message);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ProcessingMessages:
                    writer.Write(this.m_processingMessages);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.CommonCode:
                    writer.WriteEnum((int)this.m_commonCode);
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
コード例 #3
0
        void IPersistable.Serialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatWriter writer)
        {
            writer.RegisterDeclaration(ValidValue.m_Declaration);
            while (writer.NextMember())
            {
                switch (writer.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Label:
                    writer.Write(this.m_label);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Value:
                    writer.Write(this.m_value);
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
コード例 #4
0
        public void Serialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatWriter writer)
        {
            writer.RegisterDeclaration(ParameterBase.m_Declaration);
            while (writer.NextMember())
            {
                switch (writer.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Name:
                    writer.Write(this.m_name);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DataType:
                    writer.WriteEnum((int)this.m_dataType);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Nullable:
                    writer.Write(this.m_nullable);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.UsedInQuery:
                    writer.Write(this.m_usedInQuery);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.AllowBlank:
                    writer.Write(this.m_allowBlank);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.MultiValue:
                    writer.Write(this.m_multiValue);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DefaultValue:
                    writer.Write(this.m_defaultValues);
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.PromptUser:
                    writer.Write(this.m_promptUser);
                    break;

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