C# Class 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.

ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
AddEncodeableTypes ( string assemblyName ) : void

Loads the types from an assembly.

Method Details

EncodeableFactory() public method

Creates a factory initialized with the types in the core library.
public EncodeableFactory ( ) : System
return System

EncodeableFactory() public method

Creates a factory by copying the table from another factory.
public EncodeableFactory ( EncodeableFactory factory ) : System
factory EncodeableFactory
return System

EncodeableFactory() public method

Creates a factory which is marked as shared and initialized with the types in the core library.
public EncodeableFactory ( bool shared ) : System
shared bool
return System

GetXmlName() public static method

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
return System.Xml.XmlQualifiedName