Is there any way I can make a classes methods accessible ONLY to subclasses of that class?
I understand how to use Class Extensions to achieve simulated private methods and properties, but is there any way to simulate protected methods and properties?
At the moment I am forces to make internal methods and properties public so that subclasses have access to them, but what is my alternative?
I understand how to use Class Extensions to achieve simulated private methods and properties, but is there any way to simulate protected methods and properties?
At the moment I am forces to make internal methods and properties public so that subclasses have access to them, but what is my alternative?