Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
        /// <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());
        }