I have an abstract WizardViewModelBase class.
All WizardXXXViewModel classes inherit from the base abstract class.
The base has a getter property. Each subclass requires and overrides this string.
like its DisplayName ViewModel.
Only an ONE ViewModel named WizardTimeTableWeekViewModel needs a customizer because I need to install
so the ViewModel is a schedule for week A or week B. Using 2 ViewModels such as
WizardTimeTableWeekAViewModel and WizardTimeTableWeekBViewModel will be redundant.
I do not want to override the setter in all other classes, since they do not need a tuner.
Can I somehow tell the subclass that it does not need to redefine the setter?
Or any other suggestion?
With interfaces, I could freely use getter or setter, but having many empty setters
properties are not suitable for me.
Funny .. I just wondered what would happen if I really needed to INSTALL all the WizardPages display names contrary to what I said. Maybe I don't need to hardcode the lines in the getter and put the lines in the reesource file due to localization, then I need a setter anywhere in every XD subclass
source share