feat: parse content text (base case).
This commit is contained in:
17
InkBlot/IFileReader.cs
Normal file
17
InkBlot/IFileReader.cs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user