-
Notifications
You must be signed in to change notification settings - Fork 0
EasyOwnedInheritance
Martin S. edited this page Feb 12, 2026
·
2 revisions
Generic TSelf: This generic (EasyOwnedInheritance where TSelf : EasyOwnedInheritance) makes sure if we make class for example test: public class Test : EasyOwnerInheritance that it will make sure Test must inherit from EasyOwnerInheritance.
EasyOwnedInheritance is class that will go through every type in assembly and check if it inherits from TSelf, if yes it will go and make instance of it.
