Re: Reference base class (Stoyan)
Stoyan Damov <[email protected]> Fri, 6 Oct 2006 19:02:48 +0300
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Hey, don't stop helping out people because of this! Thanks anyway :) On 10/6/06, Peter Osucha <[email protected]> wrote: > (Ahh, I see. I figured I'd try to help out since I'm always asking for > help. I'll continue learning before trying that again! ;-)) > > Peter > > > -----Original Message----- > > From: Discussion relating to the specifics of the C# and > > Managed C++ languages [mailto:[email protected]] > > On Behalf Of Adam Sills > > Sent: Friday, October 06, 2006 10:43 AM > > To: [email protected] > > Subject: Re: [DOTNET-CX] Reference base class (Stoyan) > > > > He's asking about XML comments, not how to invoke a base constructor. > > > > Have you tried using TypeName..ctor as the ref in your see > > and seealso? > > That's how the IL recognizes a constructor, so perhaps the > > XML comments will also. > > > > Adam.. > > > > -----Original Message----- > > From: Discussion relating to the specifics of the C# and > > Managed C++ languages [mailto:[email protected]] > > On Behalf Of Peter Osucha > > Sent: Friday, October 06, 2006 7:55 AM > > To: [email protected] > > Subject: [DOTNET-CX] Reference base class (Stoyan) > > > > Stoyan, > > > > I'm not sure of your question. You want to reference the > > constructor of a base class from the constructor of a derived > > class? If MyDerivedClass derives from MyBaseClass and I want > > to reference (call?) the constructor of MyBaseClass in the > > constructor of MyDerivedClass, I could do something like... > > > > Public MyDerivedClass( string Key, string Name, int Index, > > int HowMany) > > : base ( Key, Name, Index ) > > { > > // do other stuff in this constructor > > _howMany = HowMany; > > } > > > > However, I'm not sure if that's what you are looking for (but > > then, almost everyone on this list knows a whole lot more > > about C# than I do so maybe they do know what you mean ;-)). > > > > Peter > > > > > > > -----Original Message----- > > > From: Discussion relating to the specifics of the C# and > > Managed C++ > > > languages [mailto:[email protected]] > > > On Behalf Of Stoyan Damov > > > Sent: Friday, October 06, 2006 2:49 AM > > > To: [email protected] > > > Subject: Re: [DOTNET-CX] code documentation reports > > > > > > Slightly off-topic but how do you reference a constructor of a base > > > class in <see /> or <seealso />? > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Cheers, Stoyan =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com