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/ITextContentConvertable.cs

15 lines
355 B
C#

namespace MfGames.Nitride.Contents;
/// <summary>
/// An interface to indicates an object can be converted into a text
/// content directly.
/// </summary>
public interface ITextContentConvertable
{
/// <summary>
/// Convert the given object into a text content.
/// </summary>
/// <returns></returns>
ITextContent ToTextContent();
}