コード例 #1
0
        public static string GetSource(Dictionary <string, string> Info)
        {
            string text = string.Empty;

            foreach (KeyValuePair <string, string> current in Info)
            {
                text += SystemInfoHtml.GetColumn();
                text  = text.Replace(UnifiedReportFlag.GetPlaceHolder("systemInfoParam"), current.Key).Replace(UnifiedReportFlag.GetPlaceHolder("systemInfoValue"), current.Value);
            }
            return(text);
        }
コード例 #2
0
        public static string GetSource(Dictionary <string, string> Info)
        {
            string src = "";

            foreach (KeyValuePair <string, string> entry in Info)
            {
                src += SystemInfoHtml.GetColumn();

                src = src.Replace(ExtentFlag.GetPlaceHolder("systemInfoParam"), entry.Key)
                      .Replace(ExtentFlag.GetPlaceHolder("systemInfoValue"), entry.Value);
            }

            return(src);
        }