mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
26 lines
680 B
C#
26 lines
680 B
C#
namespace Wox.Core.Resource
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
} |