FileHelperAliases.

FileReadLines(ICakeContext, FilePath) Method

Summary

Reads all lines from a file
Assembly
Cake.FileHelpers.dll
Namespace
Cake.FileHelpers
Containing Type
FileHelperAliases

Syntax

public static string[] FileReadLines(this ICakeContext context, FilePath file)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
file FilePath The file to read.

Return Value

Type Description
string[] The file's text lines.