예제 #1
0
 public RowGenerator(IMapper mapper, RowGeneratorOptions <T> options) : this(options)
 {
     this.Mapper = mapper ?? new MapperFactory().AddMapper <T, T>().Build();
     Check.NotNull(Mapper, nameof(Mapper));
 }
예제 #2
0
 public RowGenerator(RowGeneratorOptions <T> options)
 {
     Check.NotNull(options, nameof(Options));
     this.Options   = options;
     _lasRowOberver = Output.Subscribe(row => _lastRow = row);
 }