D
DKode
i'm a little confused as how to accomplish this
I have multiple actors in a timesheet system I am developing. Some of
the actors are: Administrator, Manager, Reviewer, DefaultUser, etc...
Now, all users inherit from DefaultUser, but I also want an
Administrator to inherit from a Reviewer. How would you accomplish
this?c# and vb do not support multiple inheritance. I was thinking
interfaces, but I am still cloudy on interfaces or abstract classes and
when to use each method.
Any help would be appreciated. Thank you
sean
I have multiple actors in a timesheet system I am developing. Some of
the actors are: Administrator, Manager, Reviewer, DefaultUser, etc...
Now, all users inherit from DefaultUser, but I also want an
Administrator to inherit from a Reviewer. How would you accomplish
this?c# and vb do not support multiple inheritance. I was thinking
interfaces, but I am still cloudy on interfaces or abstract classes and
when to use each method.
Any help would be appreciated. Thank you
sean