MidDev
❔ Encapsulation with Extension Method
Question:
I have some extension methods for a class, those extension methods set the properties of that class with some validation logic inside
the problem is that when i wanna use the extension method it also shows the property as an option, i was wondering if there is a way to only show the extension methods as a valid option to set those properties up.
3 replies