Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Big5Convert.cs « CJK « I18N « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5db8d5300c69b2ac71e1d2ee7f343d3a16fe8d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
// I18N.CJK.Big5Convert
//
// Author:
//   Alan Tam Siu Lung (Tam@SiuLung.com)
//

using System;

namespace I18N.CJK
{
	internal sealed class Big5Convert : DbcsConvert
	{
		// Dummy constructor, no one is aupposed to call it
		private Big5Convert() : base("big5.table") {}
		
		// The one and only Big5 conversion object in the system.
		private static DbcsConvert convert;
		
		// Get the primary Big5 conversion object.
		public static DbcsConvert Convert
		{
			get {
				if (convert == null) convert = new DbcsConvert("big5.table");
				return convert;
			}
		}
	}
}