I would like to create custom data types in the following way. My aim is to be able to create custom datatypes and being able to use custom persistence. Thus, these custom types, such as Switches
(in the image below) need to be a model in the solution part of the project and not in the language (if I understood it correctly).
So first I have a base concept CustomType
, which is utilized as base for the concrete definition of e.g. the Switches
-type. Then I need to - let's say - make a particular instantiation ( A_Switches
) of the Switches
-type to fill it with values.
I hope it is somehow clear, what I want to say with that :)
Does anyone have an idea how to achieve this?
Bigger picture for better readability: