Application customization in dotnet

M

Marco

Hi experts!

For customization purpose i need to substitute a class that is
implemented within an assembly, with a new class (with the same name).
I haven't the sources but I'd like to rewrite this class so that the
application will consider my new class and not the original in a
similar way that java allows with the CLASSPATH variable settings.

Is there a way to obtain this behaviour?

Thanks in advance.
 
R

Richard Blewett [DevelopMentor]

Nope no way, to allow that would be to ask for Trojan Hell

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<[email protected]>

Hi experts!

For customization purpose i need to substitute a class that is
implemented within an assembly, with a new class (with the same name).
I haven't the sources but I'd like to rewrite this class so that the
application will consider my new class and not the original in a
similar way that java allows with the CLASSPATH variable settings.

Is there a way to obtain this behaviour?

Thanks in advance.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004



[microsoft.public.dotnet.languages.csharp]
 
G

Girish Bharadwaj

To the MainPoster: You might want to research on AOP and C#. There might be
ways that you can hook into the C# class behavior. I dont know if some
provide a 'instead of' methods.

--
Girish Bharadwaj
http://msmvps.com/gbvb
Richard Blewett said:
Nope no way, to allow that would be to ask for Trojan Hell

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/ said:
Hi experts!

For customization purpose i need to substitute a class that is
implemented within an assembly, with a new class (with the same name).
I haven't the sources but I'd like to rewrite this class so that the
application will consider my new class and not the original in a
similar way that java allows with the CLASSPATH variable settings.

Is there a way to obtain this behaviour?

Thanks in advance.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004



[microsoft.public.dotnet.languages.csharp]
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top