feat: parse content text (base case).

This commit is contained in:
mattia
2025-02-16 18:26:28 +01:00
parent b7aae9a04f
commit d386c50499
32 changed files with 940 additions and 6 deletions

17
InkBlot/IFileReader.cs Normal file
View File

@@ -0,0 +1,17 @@
namespace InkBlot;
/// <summary>
/// An object that can read files.
/// </summary>
public interface IFileReader
{
/// <summary>
/// Get the contents of a file.
/// </summary>
/// <param name="filename">
/// Name of the file to read. The name is relative to the main ink file. The name is normalized
/// (uses only single forward slashes between path elements).
/// </param>
/// <returns>A stream with the contents of the file.</returns>
Stream GetContents(string filename);
}