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

KSConvert.cs « CJK « I18N « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b0198538d0f0fc351d49cd507bd07310d159046 (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
30
31
//
// I18N.CJK.KSConvert
//
// Author:
//   Hye-Shik Chang <perky@FreeBSD.org>
//

using System;

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

// ex: ts=8 sts=4 et