private void EventProcessor(Object sender, EventArgs e) { CustomEventArgs custom_event = (e as CustomEventArgs); if (custom_event.ChkDestination(name_)) { EventLogic(custom_event); } }
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); } }