Ejemplo n.º 1
0
 public PrintService()
 {
     NinjectKernel.Bind();
     Factory          = NinjectKernel.Instance.Get <IPrintDocumentFactory>();
     Logger           = NinjectKernel.Instance.Get <ILogger>();
     PrintScriptsList = new List <string>();
 }
Ejemplo n.º 2
0
 public PrintService(IXMachine xMachine, ILogger logger)
 {
     NinjectKernel.Bind();
     Factory          = NinjectKernel.Instance.Get <IPrintDocumentFactory>();
     XMachine         = xMachine;
     Logger           = logger;
     PrintScriptsList = new List <string>();
 }