OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.97k stars 950 forks source link

Generic way to handle encodable data types #2784

Open larws opened 1 month ago

larws commented 1 month ago

Type of issue

Current Behavior

I used to work with the Unified Automation SDK and there is a feature in the EncodableFactory which allows for registering implemtations of IEncodable types as well as GenericStructureDataTypes. This type is requested from the factory during encoding/decoding in the BinaryDecoder and BinaryEncoder and wrapped in a GenericEncodableObject which in turn is an EncodableObject. Since their EncodableObject and this SDKs EncodableObject are very much identical I was hoping to find a similar mechanism in this SDK as well.

Is there a particular reason for this feature missing? Any chance for adding it?

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response