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.

Afficher le fichier Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AddEncodeableTypes ( string assemblyName ) : void

Loads the types from an assembly.

Method Details

EncodeableFactory() public méthode

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

EncodeableFactory() public méthode

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

EncodeableFactory() public méthode

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

GetXmlName() public static méthode

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
Résultat System.Xml.XmlQualifiedName