public static TimeManager InstanceOf(GlobalConfigDetails globalConfig) { if (_instance == null) { lock (s_lock) { if (_instance == null) { _instance = new TimeManager(); _instance.globalConfig = globalConfig; RefreshNamedSchedules(); EnableNamedScheduleReload(); } } } return _instance; }
public static TimeManager InstanceOf() { if (_instance == null) { lock (s_lock) { if (_instance == null) _instance = new TimeManager(); } } return _instance; }