mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-21 16:12:18 -05:00
29 lines
693 B
C#
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();
|
|
}
|
|
}
|
|
}
|