コード例 #1
0
ファイル: CommandInterpreter.cs プロジェクト: yosifov/oop
 public CommandInterpreter()
 {
     this.appenderFactory = new AppenderFactory();
     this.layoutFactory   = new LayoutFactory();
     this.appenders       = new List <IAppender>();
 }
コード例 #2
0
ファイル: Engine.cs プロジェクト: ValentinVPK/SoftUni
 public Engine(ILayoutFactory layoutFactory, IAppendFactory appenderFactory, IReader reader)
 {
     this.layoutFactory   = layoutFactory;
     this.appenderFactory = appenderFactory;
     this.reader          = reader;
 }