C# 클래스 DynoPhile.DynoPhileReader

파일 보기 프로젝트 열기: codereflection/DynoPhile 1 사용 예제들

공개 메소드들

메소드 설명
ReadFile ( string filename, string delimitor ) : IList

Imports a csv file with headers

ReadFile ( string filename, string delimitor, Func resultTypeBuilder ) : IList

Imports a csv file, one that does not have headers, you'll create your own with resultTypeBuilder

비공개 메소드들

메소드 설명
AssignLineValues ( IList fields, object>.IDictionary newItem ) : void
BuildResultType ( string header ) : dynamic
DoWork ( IList lines, List result, Func resultTypeBuilder, bool hasHeader ) : IList

메소드 상세

ReadFile() 공개 메소드

Imports a csv file with headers
public ReadFile ( string filename, string delimitor ) : IList
filename string File to import
delimitor string Delimitor, such as ,
리턴 IList

ReadFile() 공개 메소드

Imports a csv file, one that does not have headers, you'll create your own with resultTypeBuilder
public ReadFile ( string filename, string delimitor, Func resultTypeBuilder ) : IList
filename string File to import
delimitor string Delimitor, such as ,
resultTypeBuilder Func Func to call that will build out a new dynamic object to add values too
리턴 IList