示例#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
 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));
 }