Mustoverride and Shared problem
Hi,
I want to make a service class without any istance of it.
I want an interface and an abstract class for this service class, but
if I make a method shared (so I don't need istance) I can't made it
mustoverride :
( Interface Class )
|
.
Function A
.
|
(Abstract Class) : implements Interface Class
|
.
Mustoverride Function A
.
|
(Class of service) : inherits Abstract Class
|
.
Shared Overriden Function A
With this I got an error that I can't use Shared with Overriden !!
So I solve it with implements Function A in Abstract Class and
use "Shared Shadow Function A" and all works well.
But I want to know if this is correct or there is another best solution.
Sorry my english !!! :(
|