Flow.Launcher/Flow.Launcher.Core/Resource/InternationalizationManager.cs

26 lines
690 B
C#
Raw Normal View History

2020-04-21 09:12:17 +00:00
namespace Flow.Launcher.Core.Resource
2015-01-02 08:16:09 +00:00
{
public static class InternationalizationManager
2015-01-02 08:16:09 +00:00
{
private static Internationalization instance;
2015-01-02 15:07:49 +00:00
private static object syncObject = new object();
2015-01-02 08:16:09 +00:00
2015-01-21 15:00:56 +00:00
public static Internationalization Instance
2015-01-02 15:07:49 +00:00
{
get
{
if (instance == null)
{
lock (syncObject)
{
if (instance == null)
{
instance = new Internationalization();
2015-01-02 15:07:49 +00:00
}
}
}
return instance;
}
}
2015-01-02 08:16:09 +00:00
}
}