private void DumpType(Type aType)
{
Type baseType = aType.BaseType;
myWriter.WriteLine("{0,-10} {1}", GetTypeDescription(aType), aType );
if ( ShowModuleInfo )
{
myWriter.WriteLine("{0,-10} {1}", "Module:", aType.Module.FullyQualifiedName );
}
DumpInterfaces( aType );
DumpFields( aType );
DumpProperties( aType );
DumpEvents( aType );
DumpMethods( aType );
if ( RecurseTypes )
{
myWriter.WriteLine();
}
//
// If recursing then pop the indent on the writers so we
// can easily see the nesting for the base type information.
//
if ( RecurseTypes && baseType != null )
{
myWriter.PushIndent();
myVerboseWriter.PushIndent();
DumpType( baseType );
myWriter.PopIndent();
myVerboseWriter.PopIndent();
}
}