Exemplo n.º 1
0
 public void ExecutionSteps(ProcessingStepCollection steps)
 {
     foreach (ProcessingStep step in steps)
     {
         ExecutionStep(null);
     }
 }
Exemplo n.º 2
0
        //[Transaction]
        //[Trace]
        public void OnTimer(object sender, System.Timers.ElapsedEventArgs args)
        {
            // TODO: Insert monitoring activities here.
            eventLog1.WriteEntry("Monitoring the System", EventLogEntryType.Information, eventId++);

            ProcessingStepCollection psc = new ProcessingStepCollection();

            psc.Add(new ProcessingStep());
            psc.Add(new ProcessingStep());
            psc.Add(new ProcessingStep());
            ExecutionSteps(psc);
        }