Files

24 lines
765 B
C#
Raw Permalink Normal View History

2025-10-29 08:53:14 -04:00
using System.Text;
2026-03-18 16:37:59 -04:00
namespace SabreTools.Wrappers
2025-10-29 08:53:14 -04:00
{
/// <summary>
/// Marks a wrapper as being able to print model information
/// </summary>
public interface IPrintable
{
/// <summary>
/// Export the item information as JSON
/// </summary>
2026-05-18 10:24:30 -04:00
/// <param name="recursive">Enable outputting subfile information</param>
public string ExportJSON(bool recursive);
2025-10-29 08:53:14 -04:00
/// <summary>
/// Print information associated with a model
/// </summary>
/// <param name="builder">StringBuilder to append information to</param>
2026-05-18 10:24:30 -04:00
/// <param name="recursive">Enable outputting subfile information</param>
public void PrintInformation(StringBuilder builder, bool recursive);
2025-10-29 08:53:14 -04:00
}
}