Revize 9657d7e0
Přidáno uživatelem Jakub Šilhavý před asi 2 roky(ů)
ld_client/LDClient/utils/IFileUtils.cs | ||
---|---|---|
5 | 5 |
using System.Threading.Tasks; |
6 | 6 |
|
7 | 7 |
namespace LDClient.utils { |
8 |
|
|
9 |
/// <summary> |
|
10 |
/// This interface defines IO operations. |
|
11 |
/// </summary> |
|
8 | 12 |
public interface IFileUtils { |
9 | 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> |
|
10 | 19 |
public string[] ReadFileAllLines(string file); |
11 | 20 |
} |
12 | 21 |
} |
Také k dispozici: Unified diff
re #9570 Commented ConfigLoader.cs, FileUtils.cs, and IFileUtils.cs