R
Relaxin
First an example:
"ClassA" is defined in A.dll
public class ClassA
{...}
"ClassB" is derived from "ClassA" and has a reference to A.dll, and all of
this is defined in B.dll
public class ClassB: ClassA
{...}
"ClassC" is derived from "ClassC" and has a reference to B.dll, and all of
this is defined in C.dll
public class ClassC: ClassB
{...}
ERROR!! --- I need to also include a reference to A.dll !!!
Now when I create "ClassC" and it is derived from "ClassB", why do I also
need to include a reference to "ClassA"?
I'm I doing something wrong...shouldn't B.dll have everything that "it"
needs in order to run?
Why does every app/dll need to include ALL references that the other dlls
(assemblies) are using??
In a very large system with about 40 developers it makes it impossible to
efficiently reuse other classes that are defined in other assemblies.
Can someone please give me some helpful directions?
Thanks
"ClassA" is defined in A.dll
public class ClassA
{...}
"ClassB" is derived from "ClassA" and has a reference to A.dll, and all of
this is defined in B.dll
public class ClassB: ClassA
{...}
"ClassC" is derived from "ClassC" and has a reference to B.dll, and all of
this is defined in C.dll
public class ClassC: ClassB
{...}
ERROR!! --- I need to also include a reference to A.dll !!!
Now when I create "ClassC" and it is derived from "ClassB", why do I also
need to include a reference to "ClassA"?
I'm I doing something wrong...shouldn't B.dll have everything that "it"
needs in order to run?
Why does every app/dll need to include ALL references that the other dlls
(assemblies) are using??
In a very large system with about 40 developers it makes it impossible to
efficiently reuse other classes that are defined in other assemblies.
Can someone please give me some helpful directions?
Thanks