RegisterMarkerProcessor(string,IAttributeMarkerProcessor)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in
Registers an object as a marker processor for a given marker name.
When a marker processor is registered for a marker name, the
parser will ask the processor for text to insert into the plain
text. This allows users of the class
to dynamically replace text in a line. The nomarkup
tag is
implemented in this way by the class
directly; the class uses this mechanism
to implement the select
, plural
and ordinal
markers.
string
attributeName
The name of the marker that should use this marker processor.
markerProcessor
The object that should be invoked when markers with this name are encountered.