예제 #1
0
 public DsvWriter(bool isHeaderAvailable, string delimeter, string filePath, string[] headers = null)
 {
     _isHeaderAvailable = isHeaderAvailable;
     _delimeter         = delimeter;
     _filePath          = filePath;
     _headers           = headers;
     _dsvReader         = null;
 }
        public DsvManager(bool isHeaderAvailable, string delimeter, string filePath, string[] overrideHeaders)
        {
            _isHeaderAvailable = isHeaderAvailable;
            _delimeter         = delimeter;
            _filePath          = filePath;

            _dsvReader = new DsvReader <T>(_isHeaderAvailable, _delimeter, _filePath, overrideHeaders);
            _dsvWriter = new DsvWriter <T>(_isHeaderAvailable, _delimeter, _filePath, overrideHeaders, _dsvReader);
        }
예제 #3
0
 internal DsvWriter(bool isHeaderAvailable, string delimeter, string filePath, string[] headers, DsvReader <T> dsvReader) : this(isHeaderAvailable, delimeter, filePath, headers)
 {
     _dsvReader = dsvReader;
 }