/// <summary> /// Clears the script session, and resets the program state /// back to the initial state. /// </summary> public void ClearScriptSession() { directoryReader.ClearSesssion(); scriptReader.ClearSession(); powershellExecuter.ClearSession(); UpdateScriptCategoriesList(); SetInitialScriptCategory(); IsScriptSelected = false; IsBusy = false; }