I have a sealed parent class with one open value. 2 child classes implement it, overriding that value.
And I want to make something happen to the value upon object creation. Dont know how to achieve that.
r
Romanow
11/02/2018, 10:01 AM
Did the init block not work?
i
iari
11/02/2018, 10:11 AM
in the init block of the parent, the values of the child are not assigned 😕
r
Romanow
11/02/2018, 1:20 PM
so you want to do something with the overridden values from the child in the parent? Seems like a super special use case. Is it possible to do the same in a different way? Like have just a setter and not expose the whole value?