.NET Based OPC UA Client/Server SDK
3.3.0.530
|
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... | |
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.
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.
InstanceAnnotator UnifiedAutomation.UaServer.ModelAnnotator.Instance | ( | string | propertyName | ) |
Retrieves the instance annotator for the given property.
propertyName | The property name. |