1- using System ;
2- using System . Collections . Generic ;
31using System . IO ;
4- using System . Linq ;
52using System . Text ;
63using System . Threading . Tasks ;
74
@@ -72,15 +69,15 @@ public interface IParser
7269 /// <param name="stream"></param>
7370 /// <returns></returns>
7471 Task < T [ ] > ParseAsync < T > ( Stream stream , Encoding encoding = null ) where T : IFileLine , new ( ) ;
75-
72+
7673 /// <summary>
7774 /// Attempts to parse a file at the specified filepath into an array of objects of type T with explicit result.
7875 /// </summary>
7976 /// <typeparam name="T"></typeparam>
8077 /// <param name="filepath"></param>
8178 /// <returns></returns>
8279 Result < T [ ] > TryParse < T > ( string filepath ) where T : IFileLine , new ( ) ;
83-
80+
8481 /// <summary>
8582 /// Attempts to parse a file at the specified filepath into an array of objects of type T with explicit result and options.
8683 /// </summary>
@@ -89,15 +86,15 @@ public interface IParser
8986 /// <param name="options"></param>
9087 /// <returns></returns>
9188 Result < T [ ] > TryParse < T > ( string filepath , ParseOptions options ) where T : IFileLine , new ( ) ;
92-
89+
9390 /// <summary>
9491 /// Attempts to parse an array of delimiter separated strings into an array of objects of type T with explicit result.
9592 /// </summary>
9693 /// <typeparam name="T"></typeparam>
9794 /// <param name="lines"></param>
9895 /// <returns></returns>
9996 Result < T [ ] > TryParse < T > ( string [ ] lines ) where T : IFileLine , new ( ) ;
100-
97+
10198 /// <summary>
10299 /// Attempts to parse an array of delimiter separated strings into an array of objects of type T with explicit result and options.
103100 /// </summary>
@@ -106,7 +103,7 @@ public interface IParser
106103 /// <param name="options"></param>
107104 /// <returns></returns>
108105 Result < T [ ] > TryParse < T > ( string [ ] lines , ParseOptions options ) where T : IFileLine , new ( ) ;
109-
106+
110107 /// <summary>
111108 /// Attempts to parse an array of bytes of delimiter separated records into an array of objects of type T with explicit result.
112109 /// </summary>
@@ -115,7 +112,7 @@ public interface IParser
115112 /// <param name="encoding"></param>
116113 /// <returns></returns>
117114 Result < T [ ] > TryParse < T > ( byte [ ] bytes , Encoding encoding = null ) where T : IFileLine , new ( ) ;
118-
115+
119116 /// <summary>
120117 /// Attempts to parse an array of bytes of delimiter separated records into an array of objects of type T with explicit result and options.
121118 /// </summary>
@@ -125,7 +122,7 @@ public interface IParser
125122 /// <param name="options"></param>
126123 /// <returns></returns>
127124 Result < T [ ] > TryParse < T > ( byte [ ] bytes , Encoding encoding , ParseOptions options ) where T : IFileLine , new ( ) ;
128-
125+
129126 /// <summary>
130127 /// Attempts to parse a stream of delimiter separated records into an array of objects of type T with explicit result.
131128 /// </summary>
@@ -134,7 +131,7 @@ public interface IParser
134131 /// <param name="encoding"></param>
135132 /// <returns></returns>
136133 Result < T [ ] > TryParse < T > ( Stream stream , Encoding encoding = null ) where T : IFileLine , new ( ) ;
137-
134+
138135 /// <summary>
139136 /// Attempts to parse a stream of delimiter separated records into an array of objects of type T with explicit result and options.
140137 /// </summary>
@@ -144,15 +141,15 @@ public interface IParser
144141 /// <param name="options"></param>
145142 /// <returns></returns>
146143 Result < T [ ] > TryParse < T > ( Stream stream , Encoding encoding , ParseOptions options ) where T : IFileLine , new ( ) ;
147-
144+
148145 /// <summary>
149146 /// Asynchronously attempts to parse a file at the specified filepath into an array of objects of type T with explicit result.
150147 /// </summary>
151148 /// <typeparam name="T"></typeparam>
152149 /// <param name="filepath"></param>
153150 /// <returns></returns>
154151 Task < Result < T [ ] > > TryParseAsync < T > ( string filepath ) where T : IFileLine , new ( ) ;
155-
152+
156153 /// <summary>
157154 /// Asynchronously attempts to parse a file at the specified filepath into an array of objects of type T with explicit result and options.
158155 /// </summary>
@@ -161,15 +158,15 @@ public interface IParser
161158 /// <param name="options"></param>
162159 /// <returns></returns>
163160 Task < Result < T [ ] > > TryParseAsync < T > ( string filepath , ParseOptions options ) where T : IFileLine , new ( ) ;
164-
161+
165162 /// <summary>
166163 /// Asynchronously attempts to parse an array of delimiter separated strings into an array of objects of type T with explicit result.
167164 /// </summary>
168165 /// <typeparam name="T"></typeparam>
169166 /// <param name="lines"></param>
170167 /// <returns></returns>
171168 Task < Result < T [ ] > > TryParseAsync < T > ( string [ ] lines ) where T : IFileLine , new ( ) ;
172-
169+
173170 /// <summary>
174171 /// Asynchronously attempts to parse an array of delimiter separated strings into an array of objects of type T with explicit result and options.
175172 /// </summary>
@@ -178,7 +175,7 @@ public interface IParser
178175 /// <param name="options"></param>
179176 /// <returns></returns>
180177 Task < Result < T [ ] > > TryParseAsync < T > ( string [ ] lines , ParseOptions options ) where T : IFileLine , new ( ) ;
181-
178+
182179 /// <summary>
183180 /// Asynchronously attempts to parse an array of bytes of delimiter separated records into an array of objects of type T with explicit result.
184181 /// </summary>
@@ -187,7 +184,7 @@ public interface IParser
187184 /// <param name="encoding"></param>
188185 /// <returns></returns>
189186 Task < Result < T [ ] > > TryParseAsync < T > ( byte [ ] bytes , Encoding encoding = null ) where T : IFileLine , new ( ) ;
190-
187+
191188 /// <summary>
192189 /// Asynchronously attempts to parse an array of bytes of delimiter separated records into an array of objects of type T with explicit result and options.
193190 /// </summary>
@@ -197,7 +194,7 @@ public interface IParser
197194 /// <param name="options"></param>
198195 /// <returns></returns>
199196 Task < Result < T [ ] > > TryParseAsync < T > ( byte [ ] bytes , Encoding encoding , ParseOptions options ) where T : IFileLine , new ( ) ;
200-
197+
201198 /// <summary>
202199 /// Asynchronously attempts to parse a stream of delimiter separated records into an array of objects of type T with explicit result.
203200 /// </summary>
@@ -206,7 +203,7 @@ public interface IParser
206203 /// <param name="encoding"></param>
207204 /// <returns></returns>
208205 Task < Result < T [ ] > > TryParseAsync < T > ( Stream stream , Encoding encoding = null ) where T : IFileLine , new ( ) ;
209-
206+
210207 /// <summary>
211208 /// Asynchronously attempts to parse a stream of delimiter separated records into an array of objects of type T with explicit result and options.
212209 /// </summary>
@@ -217,5 +214,4 @@ public interface IParser
217214 /// <returns></returns>
218215 Task < Result < T [ ] > > TryParseAsync < T > ( Stream stream , Encoding encoding , ParseOptions options ) where T : IFileLine , new ( ) ;
219216 }
220- }
221-
217+ }
0 commit comments