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