Click here to Skip to main content

Design and Architecture

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