コード例 #1
0
        public static async Task <string[]> ReadAllLines(string filePath, string lineSeparator)
        {
            using (var streamReader = StreamReaderHelper.New(filePath))
            {
                var output = await StreamReaderHelper.ReadAllLines(streamReader, lineSeparator);

                return(output);
            }
        }
コード例 #2
0
ファイル: FileHelper.cs プロジェクト: SafetyCone/R5T.Magyar
 public static Task <string[]> ReadAllLines(string filePath)
 {
     return(StreamReaderHelper.ReadAllLines(filePath));
 }
コード例 #3
0
 public static Task <string[]> ReadAllLines(string filePath)
 {
     return(StreamReaderHelper.ReadAllLines(filePath, Strings.NewLineForEnvironment));
 }