| Parameter | Description |
|---|---|
| position | The position in the Unity.SmartStrings.SmartFormatter.SourceExtensions list where new extensions will be added. |
| sourceExtension | Source extension to insert. |
SmartFormatter This SmartFormatter instance.
Adds the ISource extensions at the position of the SmartFormatter.GetSourceExtensions list of this formatter,
if the Type has not been added before.
If the extension implements IInitializer, IInitializer.Initialize will be invoked.
| Parameter | Description |
|---|---|
| position | The position in the formatter extensions list where the new extension is added. |
| formatterExtension | Formatter extension to insert. |
SmartFormatter This SmartFormatter instance.
Adds the IFormatter extension at the position of the SmartFormatter.GetFormatterExtensions list of this formatter,
if the Type has not been added before.
If the extension implements IInitializer, IInitializer.Initialize will be invoked.