Exemplo n.º 1
0
        void IPersistable.Deserialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ParameterInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Prompt:
                    this.m_prompt = reader.ReadString();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicPrompt:
                    this.m_dynamicPrompt = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.IsUserSupplied:
                    this.m_isUserSupplied = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Value:
                    this.m_values = reader.ReadVariantArray();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicValidValues:
                    this.m_dynamicValidValues = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DynamicDefaultValue:
                    this.m_dynamicDefaultValue = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DependencyList:
                    this.m_dependencyList = reader.ReadListOfRIFObjects <ParameterInfoCollection>();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ValidValues:
                    this.m_validValues = reader.ReadListOfRIFObjects <ValidValueList>();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Label:
                    this.m_labels = reader.ReadStringArray();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DependencyIndexList:
                    this.m_dependencyIndexList = reader.ReadInt32Array();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        void IPersistable.Deserialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ProcessingMessage.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Code:
                    this.m_code = (ProcessingErrorCode)reader.ReadEnum();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Severity:
                    this.m_severity = (Severity)reader.ReadEnum();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ObjectType:
                    this.m_objectType = (ObjectType)reader.ReadEnum();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ObjectName:
                    this.m_objectName = reader.ReadString();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.PropertyName:
                    this.m_propertyName = reader.ReadString();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Message:
                    this.m_message = reader.ReadString();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.ProcessingMessages:
                    this.m_processingMessages = reader.ReadListOfRIFObjects <ProcessingMessageList>();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.CommonCode:
                    this.m_commonCode = (ErrorCode)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Exemplo n.º 3
0
        public void Deserialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ParameterBase.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DataType:
                    this.m_dataType = (DataType)reader.ReadEnum();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Nullable:
                    this.m_nullable = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.UsedInQuery:
                    this.m_usedInQuery = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.AllowBlank:
                    this.m_allowBlank = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.MultiValue:
                    this.m_multiValue = reader.ReadBoolean();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.DefaultValue:
                    this.m_defaultValues = reader.ReadVariantArray();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.PromptUser:
                    this.m_promptUser = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Exemplo n.º 4
0
        void IPersistable.Deserialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ValidValue.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Label:
                    this.m_label = reader.ReadString();
                    break;

                case AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.MemberName.Value:
                    this.m_value = reader.ReadVariant();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Exemplo n.º 5
0
 void IPersistable.Deserialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.IntermediateFormatReader reader)
 {
     this.Deserialize(reader);
 }