Click here to Skip to main content

Design and Architecture

 
QuestionMessaging engine/system for cross platform development Pinmemberdexterama7-Mar-13 8:07 
AnswerRe: Messaging engine/system for cross platform development Pinmemberjschell7-Mar-13 8:54 
GeneralRe: Messaging engine/system for cross platform development Pinmemberdexterama7-Mar-13 10:10 
GeneralRe: Messaging engine/system for cross platform development PinmvpEddy Vluggen7-Mar-13 22:48 
GeneralRe: Messaging engine/system for cross platform development Pinmemberjschell8-Mar-13 12:33 
QuestionSync file uploading between servers Pinmembernitin_ion28-Feb-13 16:20 
AnswerRe: Sync file uploading between servers PinmemberMarco Bertschi14-Mar-13 22:14 
Questionmultiple inheritance Pinmemberron0123427-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 PinmemberBernhard Hiller27-Feb-13 23:24 
AnswerRe: multiple inheritance Pinmemberjschell28-Feb-13 10:12 
AnswerRe: multiple inheritance PinmemberGuyThiebaut9-Mar-13 8:14 
GeneralRe: multiple inheritance Pinmemberjschell10-Mar-13 6:22 
GeneralRe: multiple inheritance Pinmemberdusty_dex10-Mar-13 6:51 
QuestionData transfer Pinmemberbenkazy101422-Feb-13 20:46 
AnswerRe: Data transfer PinmvpRichard MacCutchan22-Feb-13 23:06 
AnswerRe: Data transfer PinmvpSandeep Mewara23-Feb-13 2:57 
QuestionData transfer Pinmemberbenkazy101422-Feb-13 20:41 
QuestionMemory management for object growing in size PinmemberDevesh Sinha21-Feb-13 5:47 
AnswerRe: Memory management for object growing in size PinmvpRichard MacCutchan21-Feb-13 6:35 
AnswerRe: Memory management for object growing in size PinmemberBernhard Hiller27-Feb-13 23:27 
Questionnavigation PinmemberNani Maneesh20-Feb-13 7:14 
AnswerRe: navigation Pinmemberjschell20-Feb-13 8:16 
AnswerRe: navigation PinmvpSandeep Mewara20-Feb-13 17:08 
QuestionDDD and vb.net Pinmemberalex.barylski17-Feb-13 7:33 
QuestionAdvice - WCF/MSMQ or Async TCP PinmemberGer 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
Web02 | 2.8.141015.1 | Last Updated 21 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid