Click here to Skip to main content
11,574,473 members (67,049 online)

Design and Architecture

 
QuestionMessaging engine/system for cross platform development Pin
dexterama7-Mar-13 8:07
memberdexterama7-Mar-13 8:07 
AnswerRe: Messaging engine/system for cross platform development Pin
jschell7-Mar-13 8:54
memberjschell7-Mar-13 8:54 
GeneralRe: Messaging engine/system for cross platform development Pin
dexterama7-Mar-13 10:10
memberdexterama7-Mar-13 10:10 
GeneralRe: Messaging engine/system for cross platform development Pin
Eddy Vluggen7-Mar-13 22:48
mvpEddy Vluggen7-Mar-13 22:48 
GeneralRe: Messaging engine/system for cross platform development Pin
jschell8-Mar-13 12:33
memberjschell8-Mar-13 12:33 
QuestionSync file uploading between servers Pin
nitin_ion28-Feb-13 16:20
membernitin_ion28-Feb-13 16:20 
AnswerRe: Sync file uploading between servers Pin
Marco Bertschi14-Mar-13 22:14
memberMarco Bertschi14-Mar-13 22:14 
Questionmultiple inheritance Pin
ron0123427-Feb-13 21:59
memberron0123427-Feb-13 21:59 
i have a scenario as follow:

public class A : class B
{
public SomeMethodA()
{
//.... do some logics here
SomeMethodB();
}

private SomeMethodB()
{
//.... do some logics here
}

}

class B : class C
class X : class Y
{
public SomeMethodA()
{
//.... do some logics here
SomeMethodB();
}

private SomeMethodB()
{
//.... do some logics here
}
}

class Y : class Z
class A has the exact same method as class X does. Now the question is: How do I combine this method in centralised so that my code has DRY (don't repeat yourself) without modifying/touching class Y, Z and class B, C? Class B, C, Y, and Z are our legacy code and we are NOT trying to alter/modify these classes.

any thoughts?
AnswerRe: multiple inheritance Pin
Bernhard Hiller27-Feb-13 23:24
memberBernhard Hiller27-Feb-13 23:24 
AnswerRe: multiple inheritance Pin
jschell28-Feb-13 10:12
memberjschell28-Feb-13 10:12 
AnswerRe: multiple inheritance Pin
GuyThiebaut9-Mar-13 8:14
memberGuyThiebaut9-Mar-13 8:14 
GeneralRe: multiple inheritance Pin
jschell10-Mar-13 6:22
memberjschell10-Mar-13 6:22 
GeneralRe: multiple inheritance Pin
dusty_dex10-Mar-13 6:51
memberdusty_dex10-Mar-13 6:51 
QuestionData transfer Pin
benkazy101422-Feb-13 20:46
memberbenkazy101422-Feb-13 20:46 
AnswerRe: Data transfer Pin
Richard MacCutchan22-Feb-13 23:06
mvpRichard MacCutchan22-Feb-13 23:06 
AnswerRe: Data transfer Pin
Sandeep Mewara23-Feb-13 2:57
mvpSandeep Mewara23-Feb-13 2:57 
QuestionData transfer Pin
benkazy101422-Feb-13 20:41
memberbenkazy101422-Feb-13 20:41 
QuestionMemory management for object growing in size Pin
Devesh Sinha21-Feb-13 5:47
memberDevesh Sinha21-Feb-13 5:47 
AnswerRe: Memory management for object growing in size Pin
Richard MacCutchan21-Feb-13 6:35
mvpRichard MacCutchan21-Feb-13 6:35 
AnswerRe: Memory management for object growing in size Pin
Bernhard Hiller27-Feb-13 23:27
memberBernhard Hiller27-Feb-13 23:27 
Questionnavigation Pin
Nani Maneesh20-Feb-13 7:14
memberNani Maneesh20-Feb-13 7:14 
AnswerRe: navigation Pin
jschell20-Feb-13 8:16
memberjschell20-Feb-13 8:16 
AnswerRe: navigation Pin
Sandeep Mewara20-Feb-13 17:08
mvpSandeep Mewara20-Feb-13 17:08 
QuestionDDD and vb.net Pin
alex.barylski17-Feb-13 7:33
memberalex.barylski17-Feb-13 7:33 
QuestionAdvice - WCF/MSMQ or Async TCP Pin
Ger Hayden14-Feb-13 9:14
memberGer Hayden14-Feb-13 9:14 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150624.2 | Last Updated 30 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid