/partial-re-implementation.vb Secret
Created
January 29, 2019 10:16
Star
You must be signed in to star a gist
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
Interface IFoo | |
Sub Bar() | |
Sub Baz() | |
End Interface | |
Class Foo | |
Implements IFoo | |
Private Sub Bar() Implements IFoo.Bar | |
Exit Sub | |
End Sub | |
Private Sub IFoo_Baz() Implements IFoo.Baz | |
Exit Sub | |
End Sub | |
End Class | |
Class FooDerived | |
Inherits Foo | |
Implements IFoo | |
Public Sub Bar() Implements IFoo.Bar | |
Exit Sub | |
End Sub | |
Public Sub Baz() | |
' Does something unrelated to what an IFoo.Baz would do. | |
End Sub | |
End Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment