public PrinterService(ISettingService settingService, ICacheService cacheService, IExpressionService expressionService, ILogService logService,
                       TicketFormatter ticketFormatter, FunctionRegistry functionRegistry, TicketPrintTaskBuilder ticketPrintTaskBuilder)
 {
     _cacheService           = cacheService;
     _logService             = logService;
     _ticketFormatter        = ticketFormatter;
     _functionRegistry       = functionRegistry;
     _ticketPrintTaskBuilder = ticketPrintTaskBuilder;
     _functionRegistry.RegisterFunctions();
 }
 public TicketPrintTaskBuilder(ILogService logService, ICacheService cacheService, TicketFormatter ticketFormatter)
 {
     _logService      = logService;
     _cacheService    = cacheService;
     _ticketFormatter = ticketFormatter;
 }