UA Bundle SDK .NET
2.1.0.222
|
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. | |
RelativePathFormatter () | |
Initializes the object the default values. | |
void | UpdateNamespaceTable (NamespaceTable currentTable, NamespaceTable targetTable) |
Updates the namespace table with URI used in the relative path. | |
void | TranslateNamespaceIndexes (NamespaceTable currentTable, NamespaceTable targetTable) |
Updates the path to use the indexes from the target table. | |
override string | ToString () |
Formats the relative path as a string. | |
string | ToString (string format, IFormatProvider formatProvider) |
Formats the relative path as a string. | |
Static Public Member Functions | |
static bool | IsEmpty (RelativePathFormatter relativePath) |
Returns true if the relative path does not specify any elements. | |
static RelativePathFormatter | Parse (string textToParse, NamespaceTable currentTable, NamespaceTable targetTable) |
Parses a string representing a relative path and translates the namespace indexes. | |
static RelativePathFormatter | Parse (string textToParse) |
Parses a string representing a relative path. | |
Properties | |
List< Element > | Elements [get] |
The elements in the relative path. | |
A class that stores a relative path string
The type of relative path element.
UnifiedAutomation.UaBase.RelativePathFormatter.RelativePathFormatter | ( | RelativePath | relativePath, |
ITypeTable | typeTree | ||
) |
Initializes the object the default values.
UnifiedAutomation.UaBase.RelativePathFormatter.RelativePathFormatter | ( | ) |
Initializes the object the default values.
|
static |
Returns true if the relative path does not specify any elements.
|
static |
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 |
|
static |
Parses a string representing a relative path.
Parses a string representing a relative path.
StatusException | Thrown if any errors occur during parsing |
override string UnifiedAutomation.UaBase.RelativePathFormatter.ToString | ( | ) |
Formats the relative path as a string.
Formats the relative path as a string.
string UnifiedAutomation.UaBase.RelativePathFormatter.ToString | ( | string | format, |
IFormatProvider | formatProvider | ||
) |
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 |
void UnifiedAutomation.UaBase.RelativePathFormatter.TranslateNamespaceIndexes | ( | NamespaceTable | currentTable, |
NamespaceTable | targetTable | ||
) |
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 |
void UnifiedAutomation.UaBase.RelativePathFormatter.UpdateNamespaceTable | ( | NamespaceTable | currentTable, |
NamespaceTable | targetTable | ||
) |
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.