public void executeCourseCheck(Object state) { AutoResetEvent are = (AutoResetEvent)state; result = jsonFileProcessor.ProcessJsonFileFolder(); are.Set(); }
private int validateCourse(string FileFolder, string enCoding) { JsonFileProcessor jsonFileProcessor = new JsonFileProcessor(logPath); int result = jsonFileProcessor.ProcessJsonFileFolder(fileFolderText.Text, enCoding); richTextBox.Text = jsonFileProcessor.GetLog(); return(result); }