.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaServer.ModelAnnotator Class Reference

With a model annotator it is possible to override values that usually come from the UaBase.UaInstanceDeclarationAttribute. This is, in particular, useful for (partial) model classes that are generated by an external tool. There you can override the default values of the generated model in the non-generated part of the class. More...

Public Member Functions

InstanceAnnotator Instance (string propertyName)
 Retrieves the instance annotator for the given property. More...
 
InstanceAnnotator AllProperties ()
 Retrieves an instance annotator for all properties. This will be used for all properties that do not have an explicit annotation. More...
 

Detailed Description

With a model annotator it is possible to override values that usually come from the UaBase.UaInstanceDeclarationAttribute. This is, in particular, useful for (partial) model classes that are generated by an external tool. There you can override the default values of the generated model in the non-generated part of the class.

Member Function Documentation

InstanceAnnotator UnifiedAutomation.UaServer.ModelAnnotator.AllProperties ( )

Retrieves an instance annotator for all properties. This will be used for all properties that do not have an explicit annotation.

Returns
InstanceAnnotator UnifiedAutomation.UaServer.ModelAnnotator.Instance ( string  propertyName)

Retrieves the instance annotator for the given property.

Parameters
propertyNameThe property name.
Returns
The instance annotator.

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