mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-15 21:35:34 +00:00
24 lines
545 B
C#
24 lines
545 B
C#
using System.Text;
|
|
|
|
namespace BinaryObjectScanner.Wrappers
|
|
{
|
|
public interface IWrapper
|
|
{
|
|
/// <summary>
|
|
/// Get a human-readable description of the wrapper
|
|
/// </summary>
|
|
string Description();
|
|
|
|
/// <summary>
|
|
/// Export the item information as pretty-printed text
|
|
/// </summary>
|
|
StringBuilder PrettyPrint();
|
|
|
|
#if NET6_0_OR_GREATER
|
|
/// <summary>
|
|
/// Export the item information as JSON
|
|
/// </summary>
|
|
string ExportJSON();
|
|
#endif
|
|
}
|
|
} |