/// <summary> /// AppMonitorLoader Main Method for STi consumption, configuration File version /// </summary> /// <param name="filename">File name of application monitor config file</param> public static void RunConfigurationFile(string filename) { DictionaryStore.StartServer(); // ApplicationMonitorConfig config = new ApplicationMonitorConfig(filename); config.RunSteps(); CloseCurrentVariationIfOneExists(); }
/// <summary> /// Tries to parse the config file and run the steps parsed. /// </summary> /// <returns>returns true if the rest of the steps should be executed, otherwise, false</returns> public override bool DoStep() { ApplicationMonitorConfig amc = new ApplicationMonitorConfig(FileName); return(amc.RunSteps()); }