I don't think this is possible yet. If you want to do it, then I think
that you will have to generate it yourself. However, it shouldn't be too
hard to create a template of some kind using Reflection to get the classes
in an assembly which fall in a namespace.
"Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...[color=blue]
> Hi - does anyone know if it is possible to document namespaces in C# using
> the XML documentation tags or something similar?
>
> Cheers
> Thomas Koch
>
>[/color]
I am using NDoc to generate the packed HTML help document (.chm file) from
the XML documentation file created by the C# compiler, so I had hoped
something more toolable existed.
Do you know if its possible to insert/modify the HTML files into a .chm
file?
Thomas Koch
"Nicholas Paldino [.NET/C# MVP]" <nicholas.paldi no@exisconsulti ng.com> wrote
in message news:uTgXQFtdDH A.1620@TK2MSFTN GP12.phx.gbl...[color=blue]
> Thomas,
>
> I don't think this is possible yet. If you want to do it, then I[/color]
think[color=blue]
> that you will have to generate it yourself. However, it shouldn't be too
> hard to create a template of some kind using Reflection to get the classes
> in an assembly which fall in a namespace.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - nicholas.paldin o@exisconsultin g.com
>
> "Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
> news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...[color=green]
> > Hi - does anyone know if it is possible to document namespaces in C#[/color][/color]
using[color=blue][color=green]
> > the XML documentation tags or something similar?
> >
> > Cheers
> > Thomas Koch
> >
> >[/color]
>
>[/color]
You can create a separate XML file with the namespace documentation in it,
and then include that file when you build the docs. I have mine in a file
called NamespaceSummar y.xml and include that when I do my doc build (I use
NDoc from NAnt).
In NDoc you can also use a class called NamespaceDoc in each namespace to
provide documentation.
Colin
"Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...[color=blue]
> Hi - does anyone know if it is possible to document namespaces in C# using
> the XML documentation tags or something similar?
>
> Cheers
> Thomas Koch
>
>[/color]
Have you seen the button "Namespace summaries" in the ndoc gui that let's
you add summaries for each namespace. At least in version 1.2 It's
probably the easiest way to add summaries. But it would be better to have
the summaries in files in your VS project / solution to make it easier to
edit from VS. Colin Young's post might be the way to go in that case.
"Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
news:O$Gn7KtdDH A.2804@TK2MSFTN GP11.phx.gbl...[color=blue]
> Hi - Nicholas,
>
> I'd rather avoid that (I'm a lazy programmer ;-)
>
> I am using NDoc to generate the packed HTML help document (.chm file) from
> the XML documentation file created by the C# compiler, so I had hoped
> something more toolable existed.
>
> Do you know if its possible to insert/modify the HTML files into a .chm
> file?
>
> Thomas Koch
>
>
> "Nicholas Paldino [.NET/C# MVP]" <nicholas.paldi no@exisconsulti ng.com>[/color]
wrote[color=blue]
> in message news:uTgXQFtdDH A.1620@TK2MSFTN GP12.phx.gbl...[color=green]
> > Thomas,
> >
> > I don't think this is possible yet. If you want to do it, then I[/color]
> think[color=green]
> > that you will have to generate it yourself. However, it shouldn't be[/color][/color]
too[color=blue][color=green]
> > hard to create a template of some kind using Reflection to get the[/color][/color]
classes[color=blue][color=green]
> > in an assembly which fall in a namespace.
> >
> > Hope this helps.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - nicholas.paldin o@exisconsultin g.com
> >
> > "Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
> > news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...[color=darkred]
> > > Hi - does anyone know if it is possible to document namespaces in C#[/color][/color]
> using[color=green][color=darkred]
> > > the XML documentation tags or something similar?
> > >
> > > Cheers
> > > Thomas Koch
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]
But I cannot see what the format should be for at namespace.
Thomas
"Colin Young" <x@nospam.com > wrote in message
news:eB7QCvtdDH A.2148@TK2MSFTN GP12.phx.gbl...[color=blue]
> You can create a separate XML file with the namespace documentation in it,
> and then include that file when you build the docs. I have mine in a file
> called NamespaceSummar y.xml and include that when I do my doc build (I use
> NDoc from NAnt).
>
> In NDoc you can also use a class called NamespaceDoc in each namespace to
> provide documentation.
>
> Colin
>
> "Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
> news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...[color=green]
> > Hi - does anyone know if it is possible to document namespaces in C#[/color][/color]
using[color=blue][color=green]
> > the XML documentation tags or something similar?
> >
> > Cheers
> > Thomas Koch
> >
> >[/color]
>
>[/color]
"Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
news:Og0Bvb2dDH A.2324@TK2MSFTN GP12.phx.gbl...[color=blue]
> Hi Colin & Michael - thanks for the replies, they were just what I was
> looking for. :-)
>
> Colin - if you are using a separate xml file, what then is the format of[/color]
the[color=blue]
> namespace documentation here?
>
> I can see that class entries in the xml file has this format:
>
> <member name="T:MyNames pace.MyClass">
> <summary>
> .........
> </summary>
> </member>
>
> But I cannot see what the format should be for at namespace.
>
> Thomas
>
> "Colin Young" <x@nospam.com > wrote in message
> news:eB7QCvtdDH A.2148@TK2MSFTN GP12.phx.gbl...[color=green]
> > You can create a separate XML file with the namespace documentation in[/color][/color]
it,[color=blue][color=green]
> > and then include that file when you build the docs. I have mine in a[/color][/color]
file[color=blue][color=green]
> > called NamespaceSummar y.xml and include that when I do my doc build (I[/color][/color]
use[color=blue][color=green]
> > NDoc from NAnt).
> >
> > In NDoc you can also use a class called NamespaceDoc in each namespace[/color][/color]
to[color=blue][color=green]
> > provide documentation.
> >
> > Colin
> >
> > "Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
> > news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...[color=darkred]
> > > Hi - does anyone know if it is possible to document namespaces in C#[/color][/color]
> using[color=green][color=darkred]
> > > the XML documentation tags or something similar?
> > >
> > > Cheers
> > > Thomas Koch
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]
"Colin Young" <x@nospam.com > wrote in message
news:OQoOyo6dDH A.3992@TK2MSFTN GP11.phx.gbl...[color=blue]
> <namespaces>
> <namespace name="REX.DAL">
> documentation goes here...
> </namespace>
> </namespaces>
>
> Colin
>
> "Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
> news:Og0Bvb2dDH A.2324@TK2MSFTN GP12.phx.gbl...[color=green]
> > Hi Colin & Michael - thanks for the replies, they were just what I was
> > looking for. :-)
> >
> > Colin - if you are using a separate xml file, what then is the format of[/color]
> the[color=green]
> > namespace documentation here?
> >
> > I can see that class entries in the xml file has this format:
> >
> > <member name="T:MyNames pace.MyClass">
> > <summary>
> > .........
> > </summary>
> > </member>
> >
> > But I cannot see what the format should be for at namespace.
> >
> > Thomas
> >
> > "Colin Young" <x@nospam.com > wrote in message
> > news:eB7QCvtdDH A.2148@TK2MSFTN GP12.phx.gbl...[color=darkred]
> > > You can create a separate XML file with the namespace documentation in[/color][/color]
> it,[color=green][color=darkred]
> > > and then include that file when you build the docs. I have mine in a[/color][/color]
> file[color=green][color=darkred]
> > > called NamespaceSummar y.xml and include that when I do my doc build (I[/color][/color]
> use[color=green][color=darkred]
> > > NDoc from NAnt).
> > >
> > > In NDoc you can also use a class called NamespaceDoc in each namespace[/color][/color]
> to[color=green][color=darkred]
> > > provide documentation.
> > >
> > > Colin
> > >
> > > "Thomas Koch" <thomask_ts@yah oo.dk> wrote in message
> > > news:Opynl$sdDH A.3260@TK2MSFTN GP09.phx.gbl...
> > > > Hi - does anyone know if it is possible to document namespaces in C#[/color]
> > using[color=darkred]
> > > > the XML documentation tags or something similar?
> > > >
> > > > Cheers
> > > > Thomas Koch
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]
Comment