C# Класс Opc.Ua.EncodeableFactory

Creates encodeable objects based on the type id.

This factory is used to store and retrieve underlying OPC UA system types.

You can manually add types. You can also import all types from a specified assembly. Once the types exist within the factory, these types can be then easily queried.

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
EncodeableFactory ( ) : System

Creates a factory initialized with the types in the core library.

EncodeableFactory ( EncodeableFactory factory ) : System

Creates a factory by copying the table from another factory.

EncodeableFactory ( bool shared ) : System

Creates a factory which is marked as shared and initialized with the types in the core library.

GetXmlName ( System systemType ) : XmlQualifiedName

Returns the xml qualified name for the specified system type id.

Returns the xml qualified name for the specified system type id.

Приватные методы

Метод Описание
AddEncodeableTypes ( string assemblyName ) : void

Loads the types from an assembly.

Описание методов

EncodeableFactory() публичный Метод

Creates a factory initialized with the types in the core library.
public EncodeableFactory ( ) : System
Результат System

EncodeableFactory() публичный Метод

Creates a factory by copying the table from another factory.
public EncodeableFactory ( EncodeableFactory factory ) : System
factory EncodeableFactory
Результат System

EncodeableFactory() публичный Метод

Creates a factory which is marked as shared and initialized with the types in the core library.
public EncodeableFactory ( bool shared ) : System
shared bool
Результат System

GetXmlName() публичный статический Метод

Returns the xml qualified name for the specified system type id.
Returns the xml qualified name for the specified system type id.
public static GetXmlName ( System systemType ) : XmlQualifiedName
systemType System The underlying type to query and return the Xml qualified name of
Результат System.Xml.XmlQualifiedName