private string GetPostedFilesInPlainTextFormat(HttpRequestBase requestBase, IDictionary <string, string> postedFiles) { return (postedFiles.Select(x => string.Format("{0}{1}", requestBase.GetBaseUrl(), x.Key)) .ToStringWithSeparator(", ")); }
private string GetPostedFilesInHtmlFormat(HttpRequestBase requestBase, IDictionary <string, string> postedFiles) { return (postedFiles.Select( x => string.Format("<a href=\"{0}{1}\">{2}</a>", requestBase.GetBaseUrl(), x.Key, x.Value)) .ToStringWithSeparator(", ")); }