using Markdig.Syntax.Inlines;
namespace OliverBooth.Markdown;
///
/// Represents a Markdown inline element that represents a MediaWiki-style template.
///
public sealed class TemplateInline : Inline
{
///
/// Gets the raw argument string.
///
/// The raw argument string.
public string ArgumentString { get; set; } = string.Empty;
///
/// Gets the argument list.
///
/// The argument list.
public IReadOnlyList ArgumentList { get; set; } = ArraySegment.Empty;
///
/// Gets the name of the template.
///
/// The name of the template.
public string Name { get; set; } = string.Empty;
///
/// Gets the template parameters.
///
/// The template parameters.
public IReadOnlyDictionary Params { get; set; } = null!;
}