Replace a framework class
- From: "e-mre" <EmreT@xxxxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 13:37:32 +0300
Is is possible to replace a framework class for my application?
Let's say that I want to add a new property to the System.Data.Dataset class. I can do that by extending the class. But I also want my new class to replace the default System.Data.Dataset class in the framework. Whenever System.Data.Dataset is referenced in my application, the reference should point the my extended DataSet class. Other classes and procedures that are already using System.Data.Dataset class should now start using my class.
Java guys say that they can do this by copying the source code of the required class into the project, making the changes on the source and compiling it into the application package. Is this possible for dotNET?
e-mre
.
- Follow-Ups:
- Re: Replace a framework class
- From: Brian Schwartz
- Re: Replace a framework class
- Prev by Date: Re: List<T> casting question
- Next by Date: Re: Creating directories on Vista machines using .NET
- Previous by thread: Where is installed application located?
- Next by thread: Re: Replace a framework class
- Index(es):