refactor(BurnPdfCommandHandler): inject AnnotationManager
This commit is contained in:
parent
77cdc83a4e
commit
b2ace61cd4
@ -1,4 +1,5 @@
|
||||
using EnvelopeGenerator.Application.Common.Configurations;
|
||||
using GdPicture14;
|
||||
using MediatR;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Pdf;
|
||||
@ -20,13 +21,17 @@ public class BurnPdfCommandHandler : IRequestHandler<BurnPdfCommand>
|
||||
/// </summary>
|
||||
private readonly PDFBurnerParams _pdfBurnerParams;
|
||||
|
||||
private readonly AnnotationManager _manager;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="pdfBurnerParams"></param>
|
||||
public BurnPdfCommandHandler(PDFBurnerParams pdfBurnerParams)
|
||||
/// <param name="manager"></param>
|
||||
public BurnPdfCommandHandler(PDFBurnerParams pdfBurnerParams, AnnotationManager manager)
|
||||
{
|
||||
_pdfBurnerParams = pdfBurnerParams;
|
||||
_manager = manager;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user