private static ConfirmedEventWrapper GetCleanUpEvent() { DefaultITextProductEventProcessor processor = new DefaultITextProductEventProcessor(ProductNameConstant.PDF_SWEEP ); return(new ConfirmedEventWrapper(PdfSweepProductEvent.CreateCleanupPdfEvent(new SequenceId(), null), processor .GetUsageType(), processor.GetProducer())); }
private static ConfirmedEventWrapper GetCoreEvent() { DefaultITextProductEventProcessor processor = new DefaultITextProductEventProcessor(ProductNameConstant.ITEXT_CORE ); return(new ConfirmedEventWrapper(ITextCoreProductEvent.CreateProcessPdfEvent(new SequenceId(), null, EventConfirmationType .ON_CLOSE), processor.GetUsageType(), processor.GetProducer())); }