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