UA Bundle SDK .NET
2.3.1.334
|
A class that stores a relative path string More...
Inherits IFormattable.
Classes | |
class | Element |
A element in a relative path string. More... | |
Public Types | |
enum | ElementType { AnyHierarchical = 0x01, AnyComponent = 0x02, ForwardReference = 0x03, InverseReference = 0x04 } |
The type of relative path element. More... | |
Public Member Functions | |
RelativePathFormatter (RelativePath relativePath, ITypeTable typeTree) | |
Initializes the object the default values. More... | |
RelativePathFormatter () | |
Initializes the object the default values. More... | |
void | UpdateNamespaceTable (NamespaceTable currentTable, NamespaceTable targetTable) |
Updates the namespace table with URI used in the relative path. More... | |
void | TranslateNamespaceIndexes (NamespaceTable currentTable, NamespaceTable targetTable) |
Updates the path to use the indexes from the target table. More... | |
override string | ToString () |
Formats the relative path as a string. More... | |
string | ToString (string format, IFormatProvider formatProvider) |
Formats the relative path as a string. More... | |
Static Public Member Functions | |
static bool | IsEmpty (RelativePathFormatter relativePath) |
Returns true if the relative path does not specify any elements. More... | |
static RelativePathFormatter | Parse (string textToParse, NamespaceTable currentTable, NamespaceTable targetTable) |
Parses a string representing a relative path and translates the namespace indexes. More... | |
static RelativePathFormatter | Parse (string textToParse) |
Parses a string representing a relative path. More... | |
Properties | |
List< Element > | Elements [get] |
The elements in the relative path. More... | |
A class that stores a relative path string
The type of relative path element.
|
inline |
Initializes the object the default values.
|
inline |
Initializes the object the default values.
|
inlinestatic |
Returns true if the relative path does not specify any elements.
|
inlinestatic |
Parses a string representing a relative path and translates the namespace indexes.
Parses a string representing a relative path.
StatusException | Thrown if any errors occur during parsing |
|
inlinestatic |
Parses a string representing a relative path.
Parses a string representing a relative path.
StatusException | Thrown if any errors occur during parsing |
|
inline |
Formats the relative path as a string.
Formats the relative path as a string.
|
inline |
Formats the relative path as a string.
Formats the relative path as a string.
format | (Unused) Always pass null |
formatProvider | (Unused) Always pass null |
FormatException | Thrown if non-null parameters are passed |
|
inline |
Updates the path to use the indexes from the target table.
currentTable | The NamespaceTable which the RelativePathString currently references |
targetTable | The NamespaceTable which the RelativePathString should reference |
|
inline |
Updates the namespace table with URI used in the relative path.
currentTable | The current table. |
targetTable | The target table. |
|
get |
The elements in the relative path.
The elements in the relative path.