| Parameter | Description |
|---|---|
| sourceExtensions | ISource extensions in an arbitrary order. |
SmartFormatter This SmartFormatter instance.
Adds ISource extensions to the SmartFormatter.GetSourceExtensions list of this formatter,
if the Type has not been added before. Unity.SmartStrings.Extensions.WellKnownExtensionTypes.Sources are inserted
at the recommended position, all others are added at the end of the list.
If the extension implements IInitializer, IInitializer.Initialize will be invoked.
Extensions implementing ISourceandIFormatter
will be auto-registered for both.
| Parameter | Description |
|---|---|
| formatterExtensions | IFormatter extensions in an arbitrary order. |
SmartFormatter This SmartFormatter instance.
Adds IFormatter extensions to the SmartFormatter.GetFormatterExtensions list of this formatter,
if the Type has not been added before. Unity.SmartStrings.Extensions.WellKnownExtensionTypes.Formatters are inserted
at the recommended position, all others are added at the end of the list.
If the extension implements IInitializer, IInitializer.Initialize will be invoked.
Extensions implementing ISourceandIFormatter
will be auto-registered for both.