Пример #1
0
 public CommandInterpreter()
 {
     this.appenderFactory = new AppenderFactory();
     this.layoutFactory   = new LayoutFactory();
     this.appenders       = new List <IAppender>();
 }
Пример #2
0
 public Engine(ILayoutFactory layoutFactory, IAppendFactory appenderFactory, IReader reader)
 {
     this.layoutFactory   = layoutFactory;
     this.appenderFactory = appenderFactory;
     this.reader          = reader;
 }