Files
ColorControl/ColorControl/AppContext.cs
T

29 lines
693 B
C#

using ColorControl.Common;
namespace ColorControl
{
public class AppContext
{
public static AppContext CurrentContext { get; private set; }
public Config Config { get; private set; }
public StartUpParams StartUpParams { get; private set; }
public string DataPath { get; private set; }
public AppContext(Config config, StartUpParams startUpParams, string dataPath)
{
Config = config;
StartUpParams = startUpParams;
DataPath = dataPath;
CurrentContext = this;
}
public bool IsServiceRunning()
{
return Utils.IsServiceRunning();
}
}
}