-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEcfTableLineParser.cs
54 lines (49 loc) · 1.58 KB
/
EcfTableLineParser.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#region ENBREA.ECF - Copyright (c) STÜBER SYSTEMS GmbH
/*
* ENBREA.ECF
*
* Copyright (c) STÜBER SYSTEMS GmbH
*
* Licensed under the MIT License, Version 2.0.
*
*/
#endregion
using Enbrea.Csv;
using System.Collections.Generic;
namespace Enbrea.Ecf
{
public class EcfTableLineParser : CsvTableLineParser
{
/// <summary>
/// Initializes a new instance of the <see cref="EcfTableLineParser"/> class.
/// </summary>
public EcfTableLineParser()
: base(new EcfConfiguration(), new EcfConverterResolver())
{
}
/// <summary>
/// Initializes a new instance of the <see cref="EcfTableLineParser"/> class.
/// </summary>
/// <param name="csvHeaders">List of csv headers</param>
public EcfTableLineParser(CsvHeaders csvHeaders)
: base(new EcfConfiguration(), new EcfConverterResolver(), csvHeaders)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="EcfTableLineParser"/> class.
/// </summary>
/// <param name="csvHeaders">List of csv headers</param>
public EcfTableLineParser(params string[] csvHeaders)
: this(new CsvHeaders(csvHeaders))
{
}
/// <summary>
/// Initializes a new instance of the <see cref="EcfTableLineParser"/> class.
/// </summary>
/// <param name="csvHeaders">List of csv headers</param>
public EcfTableLineParser(IList<string> csvHeaders)
: this(new CsvHeaders(csvHeaders))
{
}
}
}