I’m having issues implementing an interface which vb.net is not picking it up through inheritance, not sure its possible but i believe there should be a way
Public Interface ITest
Sub SomeMethod()
End Interface
Public Class Test
Inherits OtherClass
Implements ITest
End Class
Public Class OtherClass
Sub SomeMethod()
End Sub
End Class
Class “OtherClass” is on another assembly where that ITest interface does not live and I cant have it there. However, with c# you are not forced to use the Implements keyword on each method, c# looks through the name and signatures.
So basically, Im getting the “Missing implementation of members” and what I was expecting was to be able to compile fine since Im inheriting a class that has the same methods defined on the interface.
Is this possible?
For
OtherClassto implement theITestinterface, it needs a reference to thatITestinterface.Once you have it referenced, then your OtherClass would look like this: