Trying to design an extensible object in which the RootParent class has two EditableChildList members (Rows/row, Columns/Column. I want to define the EditableChildList and EditableChild classes as MustInherit such that the RootParent can accept any object derived from Rows/Row. For example; Rows class inherits from BusinessListBase and defined as MustInherit. Any object that was derived from this could be be used as the member in the RootParent. As soon as I add the ‘MustInherit’ keyword I receive error indicated New cannot be used with. I can derive from the ECL class (but can’t enforce) by declaring the constructor as friend but this seems to violate the factory method approach. Is there another way? I don't understand interfaces well enough to know if this is the way it would need to be done.
Copyright (c) Marimer LLC