Class XNameExtensions
Static class containing XName extension methods to assist with Tableau XML format's Feature Forked Subtree (FFS) mangling.
Inheritance
object
XNameExtensions
Namespace: Tableau.Migration.Content.Files.Xml
Assembly: Tableau.Migration.dll
Syntax
public static class XNameExtensions
Methods
MatchFeatureFlagName(XName, XName)
Matches an XML name to another, considering
- namespace and
- complete local name matches or suffix matches to the whole
matchNameifxmlNamehas an FFS prefix. All comparisons are case insensitive.
Declaration
public static bool MatchFeatureFlagName(this XName xmlName, XName matchName)
Parameters
| Type | Name | Description |
|---|---|---|
| XName | xmlName | The (possibly FFS prefixed) name to test. |
| XName | matchName | The XML name to match to - should not contain any FFS prefix. |
Returns
| Type | Description |
|---|---|
| bool | True if the name matches given FFS considerations, otherwise false. |