This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride/Contents/ITextContent.cs

19 lines
501 B
C#
Raw Normal View History

2021-09-07 05:15:45 +00:00
using System.IO;
2022-09-06 05:53:22 +00:00
namespace MfGames.Nitride.Contents;
/// <summary>
/// Indicates a content source that provides data as a TextReader and text.
/// </summary>
public interface ITextContent : IContent
2021-09-07 05:15:45 +00:00
{
/// <summary>
/// Opens a text reader into the underlying source of text data.
2021-09-07 05:15:45 +00:00
/// </summary>
/// <remarks>
/// It is up to the calling class to close this reader.
/// </remarks>
/// <returns>The text reader to the internal data.</returns>
TextReader GetReader();
2021-09-07 05:15:45 +00:00
}