Re: Consuming your own events.
James Geall <[email protected]> Wed, 30 Jan 2008 12:30:06 +0000
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
And it's my fault! :) I should have posted my test app when I sent the post you responded to... Sorry about that James On Jan 30, 2008 12:21 PM, Sébastien Lorion <[email protected]> wrote: > The joy of mailing lists ... You get slapped on your fingers 20 times :p > > Sébastien > > On 1/30/08, John Brett <[email protected]> wrote: > > > The following console app prints "in B ctor". A ctor is not called > > > when creating B. > > > > > > That's only because you didn't make B derive from A. > > > > <snip> > > > class B > > > > ***missing : A > > > > > { > > > public B() > > > { > > > Console.WriteLine("in B ctor"); > > > } > > > } > > > } > > > > Otherwise, James' assertion about constructors is correct. > > > > John > > > > =================================== > > This list is hosted by DevelopMentor(R) http://www.develop.com > > > > View archives and manage your subscription(s) at > http://discuss.develop.com > > > > > -- > Sébastien > www.sebastienlorion.com > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com