public static string ConfigurationStringGenerator() { string KiesString = ""; foreach (var item in ConfigurationList) { var MyKey = RowDictionary.First(x => x.Value.ParamName == item).Key; KiesString += MyKey; } ; return(KiesString); }
//---------------------------------- public static string SentStringGenerator() { string ObjectString = ""; foreach (var item in ConfigurationList) { var MyValue = RowDictionary.First(x => x.Value.Name == item).Value.Value; ObjectString += MyValue.ToString(); if (ConfigurationList.IndexOf(item) == ConfigurationList.Count - 1 && VM.ParamConfigurationList.Count == 0) { ObjectString += ";"; } else { ObjectString += "|"; } } ; return(ObjectString); }