Click here to Skip to main content
15,890,512 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Base class method access VS. abstract class Method access Pin
Shameel6-Jan-14 3:53
professionalShameel6-Jan-14 3:53 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed9-Jan-14 2:49
netfed9-Jan-14 2:49 
GeneralRe: Base class method access VS. abstract class Method access Pin
Richard MacCutchan9-Jan-14 4:43
mveRichard MacCutchan9-Jan-14 4:43 
AnswerRe: Base class method access VS. abstract class Method access Pin
Shameel10-Jan-14 3:36
professionalShameel10-Jan-14 3:36 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed12-Jan-14 0:51
netfed12-Jan-14 0:51 
GeneralRe: Base class method access VS. abstract class Method access Pin
Ron Beyer12-Jan-14 4:33
professionalRon Beyer12-Jan-14 4:33 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed12-Jan-14 6:17
netfed12-Jan-14 6:17 
GeneralRe: Base class method access VS. abstract class Method access Pin
Ron Beyer12-Jan-14 6:40
professionalRon Beyer12-Jan-14 6:40 
Yes, that's right, you can't call the base.base method since F overrides E not D.

But I wouldn't agree that a base class can force its derived classes to provide a new method using virtual, since E has the choice to provide a new method or force it to the derived class. This is the function of the abstract operator, not the virtual one. The only reason that DoWork was forced to be overridden is because its base class (E) declared it as abstract, not because D declared it as virtual. In this instance E is the base class, not D, so it forces through the abstract keyword, not the virtual one.
GeneralRe: Base class method access VS. abstract class Method access Pin
Shameel12-Jan-14 4:54
professionalShameel12-Jan-14 4:54 
AnswerRe: Base class method access VS. abstract class Method access Pin
Keld Ølykke9-Jan-14 14:33
Keld Ølykke9-Jan-14 14:33 
GeneralRe: Base class method access VS. abstract class Method access Pin
netfed12-Jan-14 1:16
netfed12-Jan-14 1:16 
GeneralRe: Base class method access VS. abstract class Method access Pin
Keld Ølykke12-Jan-14 8:06
Keld Ølykke12-Jan-14 8:06 
QuestionImplementation of Loose Coupling Pattern Pin
User 905247816-Dec-13 14:41
User 905247816-Dec-13 14:41 
AnswerRe: Implementation of Loose Coupling Pattern Pin
Antonio Ripa27-Dec-13 2:25
professionalAntonio Ripa27-Dec-13 2:25 
GeneralRe: Implementation of Loose Coupling Pattern Pin
jschell27-Dec-13 12:57
jschell27-Dec-13 12:57 
GeneralRe: Implementation of Loose Coupling Pattern Pin
Kornfeld Eliyahu Peter4-Jan-14 23:13
professionalKornfeld Eliyahu Peter4-Jan-14 23:13 
AnswerRe: Implementation of Loose Coupling Pattern Pin
Keld Ølykke1-Jan-14 10:02
Keld Ølykke1-Jan-14 10:02 
QuestionWhich is better architecture, also for security reasons Pin
nstk29-Nov-13 5:33
nstk29-Nov-13 5:33 
AnswerRe: Which is better architecture, also for security reasons Pin
Mycroft Holmes29-Nov-13 12:45
professionalMycroft Holmes29-Nov-13 12:45 
AnswerRe: Which is better architecture, also for security reasons Pin
jschell2-Dec-13 10:11
jschell2-Dec-13 10:11 
AnswerRe: Which is better architecture, also for security reasons Pin
Shameel6-Jan-14 4:02
professionalShameel6-Jan-14 4:02 
QuestionWeb browser issue Pin
iqtechways24-Nov-13 20:53
professionaliqtechways24-Nov-13 20:53 
AnswerRe: Web browser issue Pin
Pete O'Hanlon24-Nov-13 21:22
mvePete O'Hanlon24-Nov-13 21:22 
AnswerRe: Web browser issue Pin
Vishal Pand3y27-Nov-13 0:39
Vishal Pand3y27-Nov-13 0:39 
Questionfirst step of my project Pin
srinivas ruttala7-Nov-13 22:50
srinivas ruttala7-Nov-13 22:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.