Example #1
0
 public Config(ITestsCodeGenerator generator, IWriter writer,
               int readersMaxNumber, int generatorsMaxNumber, int writersMaxNumber)
 {
     Reader    = new ReaderBlockConfig(readersMaxNumber);
     Generator = new GeneratorBlockConfig(generator, generatorsMaxNumber);
     Writer    = new WriterBlockConfig(writer, writersMaxNumber);
 }
Example #2
0
 public Config(
     ReaderBlockConfig readerBlockConfig,
     GeneratorBlockConfig generatorBlockConfig,
     WriterBlockConfig writerBlockConfig
     )
 {
     Reader    = readerBlockConfig;
     Generator = generatorBlockConfig;
     Writer    = writerBlockConfig;
 }