IAttributeMarkerProcessor.ProcessReplacementMarker(MarkupAttribute,System.Text.StringBuilder,List,string)

Method in IAttributeMarkerProcessor

Summary

Produces replacement text for a marker.

public ReplacementMarkerResult ProcessReplacementMarker(MarkupAttribute marker, System.Text.StringBuilder childBuilder, List<MarkupAttribute> childAttributes, string localeCode);

Parameters

NameDescription
Yarn.Markup.MarkupAttribute markerThe marker to process into replacement text.
System.Text.StringBuilder childBuilderA System.Text.StringBuilder that contains the child text contained within marker . Use the methods on this stringbuilder to produce any text needed from this marker.
System.Collections.Generic.List<Yarn.Markup.MarkupAttribute> childAttributesThe child attributes of marker .
string localeCodeA BCP-47 locale code that represents the locale in which any processing should take place.

Returns

The collection of diagnostics produced during processing, and the number of invisible characters created during processing.