Beispiel #1
0
        private void EventProcessor(Object sender, EventArgs e)
        {
            CustomEventArgs custom_event = (e as CustomEventArgs);

            if (custom_event.ChkDestination(name_))
            {
                EventLogic(custom_event);
            }
        }
Beispiel #2
0
        private void OutputLogicStartEvent(Object sender, EventArgs e)
        {
            CustomEventArgs custom = (e as CustomEventArgs);

            if (custom.ChkDestination("FILE_COMPLETE"))
            {
                FileProcessEventArgs args = (custom as FileProcessEventArgs);
                output_path_.Enqueue(args);
            }
        }