コード例 #1
0
ファイル: RecordManager.cs プロジェクト: zivillian/CsvHelper
		/// <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);
		}
コード例 #2
0
ファイル: RecordManager.cs プロジェクト: quynhftw/CsvHelper
 /// <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);
 }