1 |
afafbc22
|
Pultak
|
using System;
|
2 |
|
|
using System.Collections.Generic;
|
3 |
|
|
using System.Linq;
|
4 |
|
|
using System.Text;
|
5 |
|
|
using System.Threading.Tasks;
|
6 |
|
|
|
7 |
|
|
namespace LDClient.utils {
|
8 |
9657d7e0
|
silhavyj
|
|
9 |
|
|
/// <summary>
|
10 |
|
|
/// This interface defines IO operations.
|
11 |
|
|
/// </summary>
|
12 |
afafbc22
|
Pultak
|
public interface IFileUtils {
|
13 |
|
|
|
14 |
9657d7e0
|
silhavyj
|
/// <summary>
|
15 |
|
|
/// Reads all lines of a files and returns them as a array.
|
16 |
|
|
/// </summary>
|
17 |
|
|
/// <param name="file">path to the file</param>
|
18 |
|
|
/// <returns>all the lines of the file (as an array)</returns>
|
19 |
afafbc22
|
Pultak
|
public string[] ReadFileAllLines(string file);
|
20 |
|
|
}
|
21 |
|
|
}
|