Exemplo n.º 1
0
        private void EventProcessor(Object sender, EventArgs e)
        {
            CustomEventArgs custom_event = (e as CustomEventArgs);

            if (custom_event.ChkDestination(name_))
            {
                EventLogic(custom_event);
            }
        }
Exemplo n.º 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);
            }
        }