1
|
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
|
|
9
|
/// <summary>
|
10
|
/// This interface defines IO operations.
|
11
|
/// </summary>
|
12
|
public interface IFileUtils {
|
13
|
|
14
|
/// <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
|
public string[] ReadFileAllLines(string file);
|
20
|
}
|
21
|
}
|