예제 #1
0
        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);
        }
예제 #2
0
파일: VM.cs 프로젝트: kulli92/Analysis-Tool
        //----------------------------------
        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);
        }