Axiom.Demos.Configuration.EngineConfig.ReadXmlSerializable C# (CSharp) Method

ReadXmlSerializable() private method

private ReadXmlSerializable ( global reader ) : void
reader global
return void
		protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
			if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
				this.Reset();
				global::System.Data.DataSet ds = new global::System.Data.DataSet();
				ds.ReadXml(reader);
				if ((ds.Tables["FilePath"] != null)) {
					base.Tables.Add(new FilePathDataTable(ds.Tables["FilePath"]));
				}
				if ((ds.Tables["ConfigOption"] != null)) {
					base.Tables.Add(new ConfigOptionDataTable(ds.Tables["ConfigOption"]));
				}
				this.DataSetName = ds.DataSetName;
				this.Prefix = ds.Prefix;
				this.Namespace = ds.Namespace;
				this.Locale = ds.Locale;
				this.CaseSensitive = ds.CaseSensitive;
				this.EnforceConstraints = ds.EnforceConstraints;
				this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
				this.InitVars();
			}
			else {
				this.ReadXml(reader);
				this.InitVars();
			}
		}