Files
ZelWiki/ZelWiki.Engine/WikiMatchSet.cs
2025-02-20 15:20:28 +08:00

24 lines
750 B
C#

using ZelWiki.Engine.Library;
namespace ZelWiki.Engine
{
public class WikiMatchSet
{
/// <summary>
/// The type of match that was found.
/// </summary>
public Constants.WikiMatchType MatchType { get; set; }
/// <summary>
/// The resulting content of the wiki processing.
/// </summary>
public string Content { get; set; } = string.Empty;
/// <summary>
/// The content in this segment will be wikified. This is useful to disable on things like error messages
/// and literal blocks where the content may contain valid wiki markup but we want it to display verbatim.
/// </summary>
public bool AllowNestedDecode { get; set; }
}
}