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); }
public Config( ReaderBlockConfig readerBlockConfig, GeneratorBlockConfig generatorBlockConfig, WriterBlockConfig writerBlockConfig ) { Reader = readerBlockConfig; Generator = generatorBlockConfig; Writer = writerBlockConfig; }