Exemplo n.º 1
0
        static void StartAllRules(StartAllRulesOptions options)
        {
            foreach (var item in BGWorker.Rules)
            {
                BGWorker.StartRule(item.RuleID);
            }

            Console.WriteLine("All rules started!");
        }
Exemplo n.º 2
0
 static void StartRule(StartRuleOptions options)
 {
     BGWorker.StartRule(int.Parse(options.StartRuleID));
 }