void SerializeNewParametersWithFormatPlugin(string[,] EditedXmlNameValueArray, string PluginName) { for (int i = 0; i < this.CurrentXmlNameValueArray.GetLength(0); i++) { if (this.CurrentXmlNameValueArray[i, 0].Equals(EditedXmlNameValueArray[i, 0])) { if (!this.CurrentXmlNameValueArray[i, 1].Equals(EditedXmlNameValueArray[i, 1])) { this.CurrentFormatXml = FormatPlugin.InjectInXml(this.CurrentFormatXml, i, EditedXmlNameValueArray[i, 1]); } } } this.CurrentXmlNameValueArray = EditedXmlNameValueArray; this.SerializeNewXmlWithFormatPlugin(this.CurrentFormatXml, PluginName); }