Morten Lemvigh | 8 Jun 2012 11:35
Picon

Problem using \dontinclude for including examples in class description

I have some problems including code examples using \dontinclude in the 
documentation of a class. I have no problem doing it on a \page, but in 
the class documentation only \include seems to work. In the 
documentation of my class, I have
/// \dontinclude ExampleFile.cs	
/// \skip SomeFunction
/// \until }

This just leaves left two empty blue code example boxes. If I change it 
to \include:
/// \include ExampleFile.cs	
/// \skip SomeFunction
/// \until }

I get two cod boxes, the first contains the whole file, the second 
contains the parts specified by the \skip - \until. As I would expect.

Is this a bug, or should I handle examples differently in the class 
documentation?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane