public void ExecutionSteps(ProcessingStepCollection steps) { foreach (ProcessingStep step in steps) { ExecutionStep(null); } }
//[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); }