Knew I should have validated my understanding before making that statement
;-(

Thanks for the correction.

regards

-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Stefan
Holdermans
Sent: 20 January 2004 10:37
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Best way to share an interface definition
amoung components tier


Ross,

> My understanding is that the type is defined with reference
> to the namespace from which it is exposed and the namespace
> does not neccessarily correspond to the assembly name ie
> namespaces can span assemblies so one could conceivably
> define the same type in two different assemblies.

Nope. If I declare a type T to be in namespace N and compile it into an
assembly A that has version v, culture c and public-key token p, then
that type is uniquely identified as [A, v, c, p]N.T. That is, a type
[A', v', c', p']N'.T' is equal to [A, v, c, p]N.T iff A = A', v = v', c
= c', p = p', N' = N, and T = T'.

Regards,

Stefan

===================================
This list is hosted by DevelopMentor.  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to