/// <summary> /// Save the General.Global settings to the settings file /// </summary> /// <param name="globalNode">XML-node for the General.Global settings</param> public void Save(XmlNode globalNode) { string xpath; XmlNode node; xpath = "./removeSingleContent"; SettingsHelper.SetSettingValue(xpath, globalNode, RemoveSingleContent.ToString()); xpath = "./strictAggregationCheck"; SettingsHelper.SetSettingValue(xpath, globalNode, StrictAggregationCheck.ToString()); xpath = "./secrecyOption"; SettingsHelper.SetSettingValue(xpath, globalNode, SecrecyOption.ToString()); xpath = "./roundingRule"; SettingsHelper.SetSettingValue(xpath, globalNode, RoundingRule.ToString()); xpath = "./symbol1"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol1.ToString()); xpath = "./symbol2"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol2.ToString()); xpath = "./symbol3"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol3.ToString()); xpath = "./symbol4"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol4.ToString()); xpath = "./symbol5"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol5.ToString()); xpath = "./symbol6"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol6.ToString()); xpath = "./dataSymbolNil"; SettingsHelper.SetSettingValue(xpath, globalNode, DataSymbolNil.ToString()); xpath = "./dataSymbolSum"; SettingsHelper.SetSettingValue(xpath, globalNode, DataSymbolSum.ToString()); //xpath = "./decimalSeparator"; //SettingsHelper.SetSettingValue(xpath, globalNode, DecimalSeparator.ToString()); //xpath = "./thousandSeparator"; //SettingsHelper.SetSettingValue(xpath, globalNode, ThousandSeparator.ToString()); xpath = "./showSourceDescription"; SettingsHelper.SetSettingValue(xpath, globalNode, ShowSourceDescription.ToString()); xpath = "./tableInformationLevel"; SettingsHelper.SetSettingValue(xpath, globalNode, TableInformationLevel.ToString()); xpath = "./uppercase"; SettingsHelper.SetSettingValue(xpath, globalNode, Uppercase.ToString()); xpath = "./dataNotePlacment"; SettingsHelper.SetSettingValue(xpath, globalNode, DataNotePlacement.ToString()); xpath = "./showinfofile"; SettingsHelper.SetSettingValue(xpath, globalNode, ShowInfoFile.ToString()); xpath = "./showInformationTypes"; node = globalNode.SelectSingleNode(xpath); _showInformationTypesSettings.Save(node); }
public string Post(Word word) { Uppercase uppercase = new Uppercase(); return(uppercase.toUppercase(word.Value)); }
public void Test12() { Assert.Equal("ABCDEFG", Uppercase.cekUpper("abcdefg")); }
public override int GetHashCode() { return(Uppercase.GetHashCode()); }