PowerToys/Wox.Core/Theme/ThemeManager.cs
2015-10-30 23:23:01 +00:00

27 lines
608 B
C#

namespace Wox.Core.Theme
{
public class ThemeManager
{
private static Theme instance;
private static object syncObject = new object();
public static Theme Theme
{
get
{
if (instance == null)
{
lock (syncObject)
{
if (instance == null)
{
instance = new Theme();
}
}
}
return instance;
}
}
}
}