Пример #1
0
 public Updater(IUpdateParams updateParams, IInteractiveConsole console)
 {
     Logger.LogDir = updateParams.LogDir;
     this.context  = new Context(updateParams, console);
 }
Пример #2
0
 public Context(IUpdateParams updateParams, IInteractiveConsole console)
 {
     this.updateParams = updateParams;
     this.DbDriver = DBTraitsFactory.GetTraits(updateParams.DbDriverName);
     this.console = console;
 }
Пример #3
0
 public Context(IUpdateParams updateParams, IInteractiveConsole console)
 {
     this.updateParams = updateParams;
     this.DbDriver     = DBTraitsFactory.GetTraits(updateParams.DbDriverName);
     this.console      = console;
 }
Пример #4
0
 public Updater(IUpdateParams updateParams, IInteractiveConsole console)
 {
     Logger.LogDir = updateParams.LogDir;
     this.context = new Context(updateParams, console);
 }