[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Michael Sander

9/10/2008 1:05:00 PM

Hello ng,
i've created a interface IDynamicInterface in an dynamic assembly that uses
another interface IBaseInterface.
If IBaseInterface is created in the same dynamic assembly it is shown in
Class Viewer as base type of IDynamicInterface.
If IBaseInterface is defined in some other assembly it is not shown.
Anyone knows how to solve this issue?

Regads,
Michael

string fileName = "assembly.dll";

AssemblyName aName = new
AssemblyName(Path.GetFileNameWithoutExtension(fileName));

AssemblyBuilder aBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly(aName,
AssemblyBuilderAccess.Save);

ModuleBuilder mBuilder = aBuilder.DefineDynamicModule(aName.Name, fileName);

TypeBuilder tBuilder = mBuilder.DefineType("IDynamicInterface",
TypeAttributes.Public | TypeAttributes.Interface | TypeAttributes.Abstract);

tBuilder.AddInterfaceImplementation(typeof(IBaseInterface));

tBuilder.CreateType();

aBuilder.Save(fileName);


1 Answer

Naked Gonad

11/24/2008 12:04:00 PM

0

Eli Grubman wrote:
> On Mon, 24 Nov 2008 11:22:03 +0000, Naked Gonad
> <bodron57@tiscali.co.uk> wrote:
>
>> Eli Grubman wrote:
>>> On Mon, 24 Nov 2008 09:06:08 +0000, Naked Gonad
>>> <bodron57@tiscali.co.uk> wrote:
>>>
>>>> Eli Grubman wrote:
>>>>> On Tue, 18 Nov 2008 09:41:47 +0000, Naked Gonad
>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>
>>>>>> Eli Grubman wrote:
>>>>>>> On Mon, 17 Nov 2008 18:41:22 +0000, Naked Gonad
>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>
>>>>>>>> Eli Grubman wrote:
>>>>>>>>> On Mon, 17 Nov 2008 17:12:23 +0000, Naked Gonad
>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>
>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>> On Mon, 17 Nov 2008 16:08:18 +0000, Naked Gonad
>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>> On Mon, 17 Nov 2008 15:22:02 +0000, Naked Gonad
>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 14:28:33 +0000, Naked Gonad
>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 13:42:37 +0000, Naked Gonad
>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 11:54:44 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 11:30:49 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 10:00:18 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 00:35:51 -0600, "John \"C\""
>>>>>>>>>>>>>>>>>>>>>>>>> <honestjohn@centurytel.net> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> "Eli Grubman" <eli.grubman@googlemail.com> wrote in message
>>>>>>>>>>>>>>>>>>>>>>>>>> news:j532i4thg6rs56gffcg5ltvumjnmv5tns6@4ax.com...
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 17 Nov 2008 00:04:50 -0600, "John \"C\""
>>>>>>>>>>>>>>>>>>>>>>>>>>> <honestjohn@centurytel.net> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "Naked Gonad" <bodron57@tiscali.co.uk> wrote in message
>>>>>>>>>>>>>>>>>>>>>>>>>>>> news:49204591$1_4@mk-nntp-2.news.uk.tiscali.com...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> John "C" wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "Naked Gonad" <bodron57@tiscali.co.uk> wrote in message
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> news:49202284$1_3@mk-nntp-2.news.uk.tiscali.com...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, 16 Nov 2008 12:53:03 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, 16 Nov 2008 08:50:35 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, 15 Nov 2008 19:33:19 -0500, ah
>>>>>>>>>>>>>>>>>>>>>>>>>> <splifingate@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Pants Rheitard is a filthy Grik wog with no penis who
>>>>>>>>>>>>>>>>>>>>>>>>>> stalks
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 18
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> hrs/day! LOL
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, 15 Nov 2008 13:19:47 -0500, ah
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <splifingate@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, 15 Nov 2008 02:41:38 -0500, ah
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <splifingate@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, 14 Nov 2008 17:57:34 -0000, "Peter Hucker"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <none@spam.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 10 Nov 2008 12:03:32 -0000, Eli Grubman
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <eli.grubman@googlemail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 10 Nov 2008 11:25:47 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 10 Nov 2008 11:02:45 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 10 Nov 2008 10:33:22 +0000, Naked Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Eli Grubman wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 10 Nov 2008 09:47:17 +0000, Naked
>>>>>>>>>>>>>>>>>>>>>>>>>> Gonad
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <bodron57@tiscali.co.uk> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Worse than clamping!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Abhorrent!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Whorrible!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Wheel I never!!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tyring, isn't it?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tread carefully!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Keep a low profile.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://www.ebuyer.com:80/prod...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Ah, a link!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Shuttup.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> You shut up, a"h.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> No, you shuttup.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> No, you shuttup.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> No, you shuttup.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Just shut up, a"h.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Aargh!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Aarg"h?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Is 'aarg-ing' allowed in DL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Occasionally.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> With feeling?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> At "ah's" age he forgot what he did with his pecker.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Worn out?
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Rumor has it that it just dried-up and fell off like an over ripe
>>>>>>>>>>>>>>>>>>>>>>>>>> fig...
>>>>>>>>>>>>>>>>>>>>>>>>>>>> He picked it up off the floor and put it somewhere and forgot where
>>>>>>>>>>>>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>>>>>>>>>>>>>>> was because of his advancing Alzheimer's Disease.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> At 73 he really has no need for one anyway as he looks like "Mr.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Potatohead"...or "Mr. Pothead" fer short...
>>>>>>>>>>>>>>>>>>>>>>>>>>> Or, as J.Danforth Quayle would have it, "Mr Potatoehead".
>>>>>>>>>>>>>>>>>>>>>>>>>> Hell, I'd almost forgot about that lil fucker...
>>>>>>>>>>>>>>>>>>>>>>>>> He was a one-election wonder. Just like that nigra Hussein Osama will
>>>>>>>>>>>>>>>>>>>>>>>>> turn out!
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Oh ye of little faith!
>>>>>>>>>>>>>>>>>>>>>>> Little faith??? Ah have a dreeeeeeeeeeeeeeeeam!
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> A wet one?
>>>>>>>>>>>>>>>>>>>>> That's what Martin Luther had!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Was he dreaming in the bath or something?
>>>>>>>>>>>>>>>>>>> Strange people, these Lutherans.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Yeh, a funny bunch.
>>>>>>>>>>>>>>>>> Polygamy, devil worship, female circumcision, the lot!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Spare me the details!
>>>>>>>>>>>>>>> The devil is in the details.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The dirty devil!
>>>>>>>>>>>>> Hell's too good for the likes of that.
>>>>>>>>>>>>>
>>>>>>>>>>>> Have you been there recently?
>>>>>>>>>>> Not recently, no.
>>>>>>>>>>>
>>>>>>>>>> I hear it's pretty warm.
>>>>>>>>> It ain't half hot, actually.
>>>>>>>>>
>>>>>>>> But you said you hadn't visited it recently?
>>>>>>> It's ain't never half hot.
>>>>>>>
>>>>>> Hmm! sounds perdy kewel to me.
>>>>> The company is more interesting than in the 'other place'.
>>>>>
>>>> Heaven forbid!!?.......yes.
>>> All the Goody Two-Shoes end up in heaven!
>>>
>> Sounds like it's gonna be a very lonely place then.
>
> Charlot Church?
>
That charlatan?