.NET Based OPC UA Client/Server SDK  2.6.0.418
UnifiedAutomation.UaBase.Uuid Struct Reference

A wrapper globally unique identifier. More...

Inherits IComparable, and IFormattable.

Public Member Functions

 Uuid (string text)
 Initializes a new instance of the Uuid struct. More...
 
 Uuid (byte[] bytes)
 Initializes a new instance of the Uuid struct. More...
 
 Uuid (Guid guid)
 Initializes a new instance of the Uuid struct. More...
 
override bool Equals (object obj)
 Returns true if the object is equal to the instance. More...
 
override int GetHashCode ()
 Returns a hash code for the instance. More...
 
int CompareTo (object obj)
 Compares the instance to another object. More...
 
override string ToString ()
 Formats the object as a string. More...
 
string ToString (string format, IFormatProvider formatProvider)
 Formats the object as a string. More...
 
string Format ()
 Formats a node id as a string. More...
 
void Format (StringBuilder buffer)
 Formats the node ids as string and adds it to the buffer. More...
 

Static Public Member Functions

static implicit operator Uuid (Guid guid)
 Performs an implicit conversion from System.Guid to UnifiedAutomation.UaBase.Uuid. More...
 
static implicit operator Guid (Uuid uuid)
 Performs an implicit conversion from UnifiedAutomation.UaBase.Uuid to System.Guid. More...
 
static bool operator== (Uuid guid1, Uuid guid2)
 Implements the operator ==. More...
 
static bool operator!= (Uuid guid1, Uuid guid2)
 Implements the operator !=. More...
 
static bool operator== (Uuid guid1, Guid guid2)
 Implements the operator ==. More...
 
static bool operator!= (Uuid guid1, Guid guid2)
 Implements the operator !=. More...
 
static Uuid NewUuid ()
 News the UUID. More...
 
static Uuid Parse (string text)
 Parses the specified text. More...
 

Static Public Attributes

static readonly Uuid Empty = Guid.Empty
 Represents an Empty Uuid. More...
 

Properties

Guid Guid [get]
 Gets the GUID contained by the structure More...
 

Detailed Description

A wrapper globally unique identifier.

This structure is used to define a type that can be serialized using UA semantics.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.Uuid.Uuid ( string  text)
inline

Initializes a new instance of the Uuid struct.

Parameters
textThe text.
UnifiedAutomation.UaBase.Uuid.Uuid ( byte[]  bytes)
inline

Initializes a new instance of the Uuid struct.

Parameters
bytesThe bytes.
UnifiedAutomation.UaBase.Uuid.Uuid ( Guid  guid)
inline

Initializes a new instance of the Uuid struct.

Parameters
guidThe GUID.

Member Function Documentation

int UnifiedAutomation.UaBase.Uuid.CompareTo ( object  obj)
inline

Compares the instance to another object.

Parameters
objThe object to compare to this object
override bool UnifiedAutomation.UaBase.Uuid.Equals ( object  obj)
inline

Returns true if the object is equal to the instance.

string UnifiedAutomation.UaBase.Uuid.Format ( )
inline

Formats a node id as a string.

void UnifiedAutomation.UaBase.Uuid.Format ( StringBuilder  buffer)
inline

Formats the node ids as string and adds it to the buffer.

override int UnifiedAutomation.UaBase.Uuid.GetHashCode ( )
inline

Returns a hash code for the instance.

static Uuid UnifiedAutomation.UaBase.Uuid.NewUuid ( )
inlinestatic

News the UUID.

Returns
static implicit UnifiedAutomation.UaBase.Uuid.operator Guid ( Uuid  uuid)
inlinestatic

Performs an implicit conversion from UnifiedAutomation.UaBase.Uuid to System.Guid.

Parameters
uuidThe UUID.
Returns
The result of the conversion.
static implicit UnifiedAutomation.UaBase.Uuid.operator Uuid ( Guid  guid)
inlinestatic

Performs an implicit conversion from System.Guid to UnifiedAutomation.UaBase.Uuid.

Parameters
guidThe GUID.
Returns
The result of the conversion.
static bool UnifiedAutomation.UaBase.Uuid.operator!= ( Uuid  guid1,
Uuid  guid2 
)
inlinestatic

Implements the operator !=.

Parameters
guid1The guid1.
guid2The guid2.
Returns
The result of the operator.
static bool UnifiedAutomation.UaBase.Uuid.operator!= ( Uuid  guid1,
Guid  guid2 
)
inlinestatic

Implements the operator !=.

Parameters
guid1The guid1.
guid2The guid2.
Returns
The result of the operator.
static bool UnifiedAutomation.UaBase.Uuid.operator== ( Uuid  guid1,
Uuid  guid2 
)
inlinestatic

Implements the operator ==.

Parameters
guid1The guid1.
guid2The guid2.
Returns
The result of the operator.
static bool UnifiedAutomation.UaBase.Uuid.operator== ( Uuid  guid1,
Guid  guid2 
)
inlinestatic

Implements the operator ==.

Parameters
guid1The guid1.
guid2The guid2.
Returns
The result of the operator.
static Uuid UnifiedAutomation.UaBase.Uuid.Parse ( string  text)
inlinestatic

Parses the specified text.

Parameters
textThe text.
Returns
override string UnifiedAutomation.UaBase.Uuid.ToString ( )
inline

Formats the object as a string.

string UnifiedAutomation.UaBase.Uuid.ToString ( string  format,
IFormatProvider  formatProvider 
)
inline

Formats the object as a string.

Member Data Documentation

readonly Uuid UnifiedAutomation.UaBase.Uuid.Empty = Guid.Empty
static

Represents an Empty Uuid.

Property Documentation

Guid UnifiedAutomation.UaBase.Uuid.Guid
get

Gets the GUID contained by the structure


The documentation for this struct was generated from the following file: