Re: Replace a framework class
- From: "Brian Schwartz" <owner@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 07:55:03 -0700
To my knowledge, no. And it doesn't seem like a good idea, anyway, to hijack
a class like this. As a matter of principle, other developers should have
the choice of which class they wish to use. As a matter of policy, if your
company is requiring everyone to use the new DataSet class, that's something
that will have to be enforced by other means.
--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Fish Grid .NET Light: Powerful Layouts for Small Datasets
"e-mre" <EmreT@xxxxxxxxxxxxxxxx> wrote in message
news:3D5A9A9E-5765-4B73-AB84-CB15053AEE2A@xxxxxxxxxxxxxxxx
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: Steven Cheng[MSFT]
- Re: Replace a framework class
- References:
- Replace a framework class
- From: e-mre
- Replace a framework class
- Prev by Date: Re: Creating directories on Vista machines using .NET
- Next by Date: Re: Checking if a property of a widget has changed
- Previous by thread: Replace a framework class
- Next by thread: Re: Replace a framework class
- Index(es):
Relevant Pages
|