mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-16 04:29:16 +08:00
26 lines
676 B
C#
26 lines
676 B
C#
namespace Wox.Core.i18n
|
|
{
|
|
public static class InternationalizationManager
|
|
{
|
|
private static Internationalization instance;
|
|
private static object syncObject = new object();
|
|
|
|
public static Internationalization Instance
|
|
{
|
|
get
|
|
{
|
|
if (instance == null)
|
|
{
|
|
lock (syncObject)
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = new Internationalization();
|
|
}
|
|
}
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
} |