Click here to Skip to main content
11,438,069 members (44,536 online)

Design and Architecture

 
AnswerRe: Messaging engine/system for cross platform development Pin
jschell7-Mar-13 9:54
memberjschell7-Mar-13 9:54 
GeneralRe: Messaging engine/system for cross platform development Pin
dexterama7-Mar-13 11:10
memberdexterama7-Mar-13 11:10 
GeneralRe: Messaging engine/system for cross platform development Pin
Eddy Vluggen7-Mar-13 23:48
mvpEddy Vluggen7-Mar-13 23:48 
GeneralRe: Messaging engine/system for cross platform development Pin
jschell8-Mar-13 13:33
memberjschell8-Mar-13 13:33 
QuestionSync file uploading between servers Pin
nitin_ion28-Feb-13 17:20
membernitin_ion28-Feb-13 17:20 
AnswerRe: Sync file uploading between servers Pin
Marco Bertschi14-Mar-13 23:14
memberMarco Bertschi14-Mar-13 23:14 
Questionmultiple inheritance Pin
ron0123427-Feb-13 22:59
memberron0123427-Feb-13 22:59 
AnswerRe: multiple inheritance Pin
Bernhard Hiller28-Feb-13 0:24
memberBernhard Hiller28-Feb-13 0:24 
Aggregation.
Create a class D and put the two methods in. In the constructors of A and X, instantiate D; later on, forward the call to D.
Something like:
internal class D
{
    public SomeMethodA()
    {
        //.... do some logics here
        SomeMethodB();
    }
 
    private SomeMethodB()
    {
        //.... do some logics here
    }
}
 
public class A : class B
{
    protected D _D;
    public A()
    {
        _D = new D();
        // some more code
    }
 
    public SomeMethodA()
    {
        _D.SomeMethodA();
    }
}
 

AnswerRe: multiple inheritance Pin
jschell28-Feb-13 11:12
memberjschell28-Feb-13 11:12 
AnswerRe: multiple inheritance Pin
GuyThiebaut9-Mar-13 9:14
memberGuyThiebaut9-Mar-13 9:14 
GeneralRe: multiple inheritance Pin
jschell10-Mar-13 7:22
memberjschell10-Mar-13 7:22 
GeneralRe: multiple inheritance Pin
dusty_dex10-Mar-13 7:51
memberdusty_dex10-Mar-13 7:51 
QuestionData transfer Pin
benkazy101422-Feb-13 21:46
memberbenkazy101422-Feb-13 21:46 
AnswerRe: Data transfer Pin
Richard MacCutchan23-Feb-13 0:06
mvpRichard MacCutchan23-Feb-13 0:06 
AnswerRe: Data transfer Pin
Sandeep Mewara23-Feb-13 3:57
mvpSandeep Mewara23-Feb-13 3:57 
QuestionData transfer Pin
benkazy101422-Feb-13 21:41
memberbenkazy101422-Feb-13 21:41 
QuestionMemory management for object growing in size Pin
Devesh Sinha21-Feb-13 6:47
memberDevesh Sinha21-Feb-13 6:47 
AnswerRe: Memory management for object growing in size Pin
Richard MacCutchan21-Feb-13 7:35
mvpRichard MacCutchan21-Feb-13 7:35 
AnswerRe: Memory management for object growing in size Pin
Bernhard Hiller28-Feb-13 0:27
memberBernhard Hiller28-Feb-13 0:27 
Questionnavigation Pin
Nani Maneesh20-Feb-13 8:14
memberNani Maneesh20-Feb-13 8:14 
AnswerRe: navigation Pin
jschell20-Feb-13 9:16
memberjschell20-Feb-13 9:16 
AnswerRe: navigation Pin
Sandeep Mewara20-Feb-13 18:08
mvpSandeep Mewara20-Feb-13 18:08 
QuestionDDD and vb.net Pin
alex.barylski17-Feb-13 8:33
memberalex.barylski17-Feb-13 8:33 
QuestionAdvice - WCF/MSMQ or Async TCP Pin
Ger Hayden14-Feb-13 10:14
memberGer Hayden14-Feb-13 10:14 
AnswerRe: Advice - WCF/MSMQ or Async TCP Pin
jschell14-Feb-13 13:25
memberjschell14-Feb-13 13:25 

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.150506.1 | Last Updated 30 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid