Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generics question Pin
harold aptroot14-Aug-10 13:56
harold aptroot14-Aug-10 13:56 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 14:20
Pete Burkindine14-Aug-10 14:20 
GeneralRe: Generics question Pin
harold aptroot14-Aug-10 14:29
harold aptroot14-Aug-10 14:29 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 15:22
Pete Burkindine14-Aug-10 15:22 
GeneralRe: Generics question Pin
PIEBALDconsult14-Aug-10 15:43
mvePIEBALDconsult14-Aug-10 15:43 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 15:50
Pete Burkindine14-Aug-10 15:50 
GeneralRe: Generics question Pin
PIEBALDconsult14-Aug-10 16:38
mvePIEBALDconsult14-Aug-10 16:38 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 16:58
Pete Burkindine14-Aug-10 16:58 
Confused | :confused: Are you saying that there is a way to avoid having to pass that type parameter to all the other classes that would then reference the generic parent objects?

For instance, there would be Granparent<t>, since Grandparent keeps a dictionary of Parent. And grandparent should be potentially allowed to have Parent<t> objects with different params for T. T is specific to the Child and has nothing to do with Grandparent or its relationship to the Parent objects.

And this becomes even less clear as you get farther away from the family tree. There is a whole other set of classes that keep an association to a particular Parent object, but do not in any way need to know T.
GeneralRe: Generics question Pin
harold aptroot14-Aug-10 17:03
harold aptroot14-Aug-10 17:03 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 17:10
Pete Burkindine14-Aug-10 17:10 
GeneralRe: Generics question Pin
PIEBALDconsult14-Aug-10 17:22
mvePIEBALDconsult14-Aug-10 17:22 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 17:25
Pete Burkindine14-Aug-10 17:25 
GeneralRe: Generics question Pin
PIEBALDconsult14-Aug-10 18:19
mvePIEBALDconsult14-Aug-10 18:19 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 18:31
Pete Burkindine14-Aug-10 18:31 
GeneralRe: Generics question [modified] Pin
PIEBALDconsult14-Aug-10 18:35
mvePIEBALDconsult14-Aug-10 18:35 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 18:46
Pete Burkindine14-Aug-10 18:46 
GeneralRe: Generics question Pin
PIEBALDconsult14-Aug-10 18:49
mvePIEBALDconsult14-Aug-10 18:49 
GeneralRe: Generics question Pin
Pete Burkindine14-Aug-10 19:12
Pete Burkindine14-Aug-10 19:12 
GeneralRe: Generics question Pin
PIEBALDconsult14-Aug-10 19:46
mvePIEBALDconsult14-Aug-10 19:46 
GeneralRe: Generics question Pin
Pete Burkindine15-Aug-10 4:01
Pete Burkindine15-Aug-10 4:01 
GeneralRe: Generics question Pin
PIEBALDconsult15-Aug-10 7:16
mvePIEBALDconsult15-Aug-10 7:16 
GeneralRe: Generics question Pin
PIEBALDconsult15-Aug-10 7:28
mvePIEBALDconsult15-Aug-10 7:28 
GeneralRe: Generics question Pin
PIEBALDconsult15-Aug-10 7:57
mvePIEBALDconsult15-Aug-10 7:57 
GeneralRe: Generics question Pin
Pete Burkindine15-Aug-10 9:01
Pete Burkindine15-Aug-10 9:01 
AnswerRe: Generics question Pin
PIEBALDconsult14-Aug-10 15:32
mvePIEBALDconsult14-Aug-10 15:32 

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.