/// <summary> /// Initialize the Instance of the JobInfoQueue. This can be called to ensure that the instance exists. /// </summary> public static void Init() { if (_instance == null) { _instance = new JobInfoQueue(); } }
private bool InitializeJobInfoQueue() { JobInfoQueue.Init(); if (!JobInfoQueue.Instance.SpoolFolderIsAccessible()) { var repairSpoolFolderAssistant = new RepairSpoolFolderAssistant(); return(repairSpoolFolderAssistant.TryRepairSpoolPath()); } return(true); }