Catel.LogAnalyzer.Helpers.FileHelper.ReadAllLines C# (CSharp) Метод

ReadAllLines() публичный статический Метод

public static ReadAllLines ( string fileName ) : IEnumerable
fileName string
Результат IEnumerable
        public static IEnumerable<string> ReadAllLines(string fileName)
        {
            Argument.IsNotNullOrWhitespace(() => fileName);

            if (!Exists(fileName))
            {
                throw new FileNotFoundException(string.Format("Unable to found the file '{0}'", fileName));
            }

            var fileLines = File.ReadAllLines(fileName);

            return fileLines;
        }