Example #1
0
        public PrintService(PrintServiceConfig printServiceConfig, ILogger logger)
        {
            IPrintServiceNotificationProvider provider = new PrintServerSingleNotificationProvider(this, this);

            this.factory = new PrintManagerFactory(printServiceConfig, logger, provider);
            this.printResponseDictionary = new ConcurrentDictionary <PrintJobId, PrintResponse>();
        }
Example #2
0
 public PrintService(PrintServiceConfig printServiceConfig, ILogger logger)
 {
     IPrintServiceNotificationProvider provider = new PrintServerSingleNotificationProvider(this, this);
     this.factory = new PrintManagerFactory(printServiceConfig, logger, provider);
     this.printResponseDictionary = new ConcurrentDictionary<PrintJobId, PrintResponse>();
 }