You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.