You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
813 B
28 lines
813 B
using CK.SCP.Models;
|
|
using CK.SCP.UniApi.Config;
|
|
|
|
namespace CK.SCP.UniApi
|
|
{
|
|
public class GlobalVar
|
|
{
|
|
|
|
private static UniApiConfig _apiConfig;
|
|
private static DurationConfig _durationConfig;
|
|
|
|
public static UniApiConfig ApiConfig
|
|
{
|
|
get { return _apiConfig ?? (_apiConfig = GlobalConfig.GetConfigValues<UniApiConfig>(GlobalConfig.UniApiConfigFileName)); }
|
|
set { _apiConfig = value; }
|
|
}
|
|
|
|
public static DurationConfig DurationConfig
|
|
{
|
|
get { return _durationConfig ?? (_durationConfig = GlobalConfig.GetConfigValues<DurationConfig>(GlobalConfig.DurationFileName)); }
|
|
set { _durationConfig = value; }
|
|
}
|
|
|
|
public static string SuperPassword { get; set; } = "changketec2018";
|
|
|
|
|
|
}
|
|
}
|