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; } } }
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; } } }