/// <summary> /// Initializes a new instance using the given reader. /// </summary> /// <param name="reader"></param> public RecordManager(CsvReader reader) { this.reader = reader; var resolver = ObjectResolver.Current; recordCreatorFactory = resolver.Resolve<RecordCreatorFactory>(reader); recordHydrator = resolver.Resolve<RecordHydrator>(reader); }
/// <summary> /// Initializes a new instance using the given reader. /// </summary> /// <param name="reader"></param> public RecordManager(CsvReader reader) { this.reader = reader; recordCreatorFactory = new RecordCreatorFactory(reader); recordHydrator = new RecordHydrator(reader); }