다음을 통해 공유


Urn Class

Definition

Expresion used to identify one or more objects

[System.Serializable]
public class Urn
[<System.Serializable>]
type Urn = class
Public Class Urn
Inheritance
Urn
Attributes

Constructors

Urn()

default constructor

Urn(String)

initialize with string value

Properties

DomainInstanceName

Get domain instance name

Parent

the Urn without the last level

Type

the type of the object identified by the urn

Value

the urn expresion as string

XPathExpression

syntactical tree representation

Methods

Compare(Urn, Urn, CompareOptions[], CultureInfo)

comparares to Urns

Equals(Object)

Equals() and GetHashCode() are overriden by all instance classes because we need them to implement equality operators (== and !=)

EscapeString(String)

escape a string to make it suitable for use inside the XPATH expression

Fixed(Object)

true if the xpath points to only one object

GetAttribute(String, String)

get the property value from filter from the specified level

GetAttribute(String)

get the property value from filter from the last level

GetHashCode()

Returns hash code

GetNameForType(String)

get the @Name attribute from the filter of the specified level

IsValidUrn()

Verifies passed string is a valid Urn

IsValidUrnSkeleton()

Verifies passed string is a valid UrnSkeleton

ToString()

cast to String

UnEscapeString(String)

remove the escaping previously added to a string for insertion in the XPATH

Operators

Equality(Urn, Urn)

Urn equality operator

Implicit(String to Urn)

cast from String

Implicit(Urn to String)

cast to String

Inequality(Urn, Urn)

Urn unequal operator

Applies to