|
Okay, now I know how to directly reference a particular overload of a
method in a cref. However, now I have the "opposite" problem. I want to
directly reference the general summary page for all the overloaded
methods. So far I've been able to do this by not mentioning any
parameters in the method name, but in one case it seems to be failing and
picking one of the overloads instead.
For example, consider the following two overloads:
Foo()
Foo(String Arg1)
NDoc creates a page for each overload, plus a summary page that lists all
the overloads. They are named like this:
Foo_overload_1.html
Foo_overload_2.html
Foo_overloads.html
If I want to refer to the two overloads specifically, I can type the
following in my XML:
<see cref="Foo()">Foo() overload 1</see>
<see cref="Foo(String)">Foo() overload 2</see>
Up until now I've referred to the overloads page simply by not including
any arguments, like this:
<see cref="Foo">Foo() overloads</see>
However, this doesn't seem to work, at least in one case. A reference
like the last one is resolved by the compiler to one of the specific
overloads. Perhaps NDoc is remembering the last specific overload
reference, and re-using that.
Is this expected behavior? Or am I doing something wrong?
- Alex VanderWoude |