-
-
Save AnthonyDGreen/fe5ca89e5a98efee97ffee93aa684e50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MustInherit Class Base | |
' OOP OP? | |
Private Cached As Object = DerivedFactory() | |
Protected MustOverride Function DerivedFactory() As Object | |
End Class | |
Class Derived | |
Inherits Base | |
Protected Overrides Function DerivedFactory() As Object | |
Return New Object() | |
End Function | |
End Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment