Class XElementFormatter
Provides the ability to write the contents of XElement values into a format string.
Inherited Members
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class XElementFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver
Constructors
| Name | Description |
|---|---|
| XElementFormatter() | Creates a new instance of the formatter. |
Properties
| Name | Description |
|---|---|
| DefaultNames |
Methods
| Name | Description |
|---|---|
| TryEvaluateFormat(IFormattingInfo) | Writes the current value to the output, using the specified format. IF this extension cannot write the value, returns false, otherwise true. |