示例#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>();
        }
示例#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>();
 }