C#C
C#2y ago
LeMonsalve

✅ I need to create methods dynamically

Hello everyone, I need to create methods dynamically, something similar to what lombok does, but only the function of generating setters.

In the image I attach what I want to create.

Basically I want to create a class called ConfigurableBase, Which I am going to use to facilitate the creation of classes that want to modify certain data of a simple class, then I want ConfigurableBase to create methods dynamically according to the number of properties of a class (TData), and add the methods it creates. to the other class(TConfigurable)

Help please
image.png
Was this page helpful?