summaryrefslogtreecommitdiff
path: root/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/Symbols.cs
blob: 52b48464ebdab663a41f9f257ae32daaa7d33180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System.Collections.Generic;
using System.Linq;

namespace CsvHelper.DocsGenerator.Formatters
{
	public static class Symbols
	{
		public static readonly Dictionary<string, string> Html = new Dictionary<string, string>
		{
			{ "<", "&lt;" },
			{ ">", "&gt;" },
			{ "[", "&lbrack;" },
			{ "]", "&rbrack;" }
		};

		public static readonly Dictionary<string, string> Code = new Dictionary<string, string>(Html.Select(pair => new KeyValuePair<string, string>(pair.Key, pair.Key)));
	}
}