static PublishJobManager() { GetMethods(); int processingInterval = 1000 * 1; Instance = new PublishJobManager(); _processingTimer = new System.Timers.Timer(processingInterval); _processingTimer.Elapsed += (obj, args) => Instance.JobRefresh(); _processingTimer.AutoReset = true; _processingTimer.Start(); }
public PublishViewerPage() { _publishJobManager = PublishJobManager.Instance; }