From: Mark I. <mi...@so...> - 2006-05-03 13:02:17
|
Sorry, I didn't put the M: into the comments, I thought that was put into the xml output. Doing, <see cref=3D"M:Foo"/> works great. Thanks! :) -----Original Message----- From: ndo...@li... [mailto:ndo...@li...] On Behalf Of Mark Ingram Sent: 03 May 2006 13:49 To: NDoc users list Subject: RE: [Ndoc-users] See tag to overload page Hi, that's not helped unfortunately, here is what I have: /// <summary> /// <see cref=3D"Test"/> /// </summary> public void Testing() { } private void Test() { } private void Test(Int32 test) { } private void Test(String test) { } And then the error: Error 3 Warning as Error: Ambiguous reference in cref attribute: 'Test'. Assuming 'Debug.Test()', but could have also matched other overloads including 'Debug.Test(string)'. Any help appreciated, thanks! Mark -----Original Message----- From: ndo...@li... [mailto:ndo...@li...] On Behalf Of Owen Blacker Sent: 03 May 2006 13:33 To: NDoc users list Subject: Re: [Ndoc-users] See tag to overload page Try a member type identifier (see http://msdn2.microsoft.com/en-US/library/fsbx0t7x.aspx for documentation; it's .Net 2 documentation, cos that's what I have bookmarked, but I believe it's unchanged since .Net 1.x) So, in this case, I think you want <see cref=3D"M:Foo"/>, rather than = <see cref=3D"Foo()"/>, <see cref=3D"Foo(String)"/> or <see = cref=3D"Foo(Int32)"/> Hth, Owen Mark Ingram wrote (2006-05-03 T 13:05 +0100): >=20 > Hi, if I have a function called Foo(), which is defined as: > > Foo(); > Foo(String test); > Foo(Int32 test); > > How do I make a link in the documentation to the actual overload page=20 > for Foo, not a specific version of the function? > > i.e. > > <see cref=3D"Foo"/> won't compile because of ambiguous symbol. = However,=20 > specifying <see cref=3D"Foo()"/> causes it to link to the first = instance > of the function. > > Thanks, > > > Mark Ingram > Software Engineer > -- Owen Blacker, London GB Say no to ID cards: www.no2id.net -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety --Benjamin Franklin, 1759 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Ndoc-users mailing list Ndo...@li... https://lists.sourceforge.net/lists/listinfo/ndoc-users ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 _______________________________________________ Ndoc-users mailing list Ndo...@li... https://lists.sourceforge.net/lists/listinfo/ndoc-users |