Class XmlSource
Provides the ability to extract elements from an XElement object.
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Syntax
[Serializable]
public class XmlSource : ISource
Constructors
XmlSource(SmartFormatter)
Creates a new instance of the source.
Declaration
public XmlSource(SmartFormatter formatter)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartFormatter | formatter |
Methods
TryEvaluateSelector(ISelectorInfo)
Evaluates the ISelectorInfo based on the CurrentValue. If this extension cannot evaluate the Selector, returns False. Otherwise, sets the Result and returns true.
Declaration
public bool TryEvaluateSelector(ISelectorInfo selectorInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| ISelectorInfo | selectorInfo |
Returns
| Type | Description |
|---|---|
| Boolean |