Transitive references

Discussion in 'ASP .Net' started by Jon Shemitz, Feb 5, 2004.

  1. Jon Shemitz

    Jon Shemitz Guest

    [I'm not sure if this is the right ng - apologies if not, and ptrs
    requested.]

    If I create a BaseClass in a BaseAssembly, then derive a MiddleClass
    in a MiddleAssembly from the BaseClass, a TopAssembly that derives a
    TopClass from MiddleClass (or just creates a MiddleClass instance)
    needs to reference both MiddleAssembly and BaseAssembly at compile
    time, even if it does not directly use any code from BaseAssembly.

    Why? Why isn't the reference to MiddleAssembly - which is the only one
    directly using code from BaseAssembly - sufficient?

    --

    programmer, author http://www.midnightbeach.com
    and father http://www.midnightbeach.com/hs
    Jon Shemitz, Feb 5, 2004
    #1
    1. Advertising

  2. Jon Shemitz

    Jon Shemitz Guest

    > If I create a BaseClass in a BaseAssembly, then derive a MiddleClass
    > in a MiddleAssembly from the BaseClass, a TopAssembly that derives a
    > TopClass from MiddleClass (or just creates a MiddleClass instance)
    > needs to reference both MiddleAssembly and BaseAssembly at compile
    > time, even if it does not directly use any code from BaseAssembly.
    >
    > Why? Why isn't the reference to MiddleAssembly - which is the only one
    > directly using code from BaseAssembly - sufficient?


    Does MiddleAssembly only record what MiddleClass adds to BaseClass?
    Deltas, not the whole new class?

    --

    programmer, author http://www.midnightbeach.com
    and father http://www.midnightbeach.com/hs
    Jon Shemitz, Feb 5, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roger Leigh
    Replies:
    8
    Views:
    415
    Karl Heinz Buchegger
    Nov 17, 2003
  2. Replies:
    3
    Views:
    435
    Victor Bazarov
    Nov 10, 2004
  3. Imre
    Replies:
    3
    Views:
    370
  4. Replies:
    11
    Views:
    814
    Tomás Ó hÉilidhe
    Dec 19, 2007
  5. Francois Grieu

    is the < operator transitive?

    Francois Grieu, Oct 7, 2011, in forum: C Programming
    Replies:
    52
    Views:
    1,094
    Tim Rentsch
    Jan 25, 2012
Loading...

Share This Page