public LoggerWithWriterFactory(
     ISimpleLogger logger,
     IRecordWriterBuilder writerFactory)
 {
     _logger        = logger;
     _writerFactory = writerFactory;
 }
 static TestsWithWriterFactory()
 {
     WriterFactory = new RecordWriterBuilder()
                     .RegisterMathModellingSerializers();
 }
Beispiel #3
0
 public static ILoggerWithWriterFactory WithWriterFactory(
     this ISimpleLogger logger,
     IRecordWriterBuilder writerFactory)
 {
     return(new LoggerWithWriterFactory(logger, writerFactory));
 }