Class HtmlItemReplacementParameter
One placeholder an html item replaces inside its template.
public sealed record HtmlItemReplacementParameter : IHtmlItemReplacementParameter
- Inheritance
-
objectHtmlItemReplacementParameter
- Implements
Properties
Description
What it is replaced with.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
- string
IsGenericReplacement
Whether it is one of the placeholders every item offers rather than this item's own.
[JsonPropertyName("isGenericReplacement")]
public bool IsGenericReplacement { get; init; }
Property Value
- bool
Pattern
The text replaced in that template, such as %TEST%.
[JsonPropertyName("pattern")]
public string? Pattern { get; init; }
Property Value
- string
TemplateAttributeName
The tag attribute naming the template this placeholder belongs to.
[JsonPropertyName("templateAttributeName")]
public string? TemplateAttributeName { get; init; }
Property Value
- string