Click here to Skip to main content
15,885,216 members
Articles / Programming Languages / C#

ImmDoc .NET - a tool for generating HTML documentation

Rate me:
Please Sign up or sign in to vote.
5.00/5 (33 votes)
27 Jun 20076 min read 126.8K   1.1K   69  
ImmDoc .NET is a command-line utility for generating HTML documentation from a set of .NET assemblies and XML files created by the compiler.
/*
 * Copyright 2007 Marek St�j
 * 
 * This file is part of ImmDoc .NET.
 *
 * ImmDoc .NET is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * ImmDoc .NET is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with ImmDoc .NET; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

using System;
using System.IO;
using System.Diagnostics;

using Imm.ImmDocNetLib.Documenters;

namespace Imm.ImmDocNetLib.MyReflection.MetaClasses
{
    class MyStructureInfo : MyClassInfo
    {
        #region Constructor(s)

        public MyStructureInfo(Type type, string assemblyName)
        {
            Debug.Assert(type.IsValueType && !type.IsEnum, "Impossible! Given type is not a structure type.");

            this.assemblyName = assemblyName;

            this.Initialize(type);
            this.AddMembers(type);
            this.CheckSupport(type);
        }

        #endregion

        #region Public properties

        public override string AttributesString
        {
            get { return base.AttributesString.Replace("sealed ", "").Replace("sealed", "").TrimEnd(); }
        }

        #endregion

        #region MetaClass overrides

        public override string GetMetaName()
        {
            return "Structure";
        }

        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Poland Poland
I'm studying computer science at the University of Wroclaw in Poland. Currently I'm on a one-semester scholarship at the Dresden University of Technology (Computational Engineering program). Main areas of my interests are: game programming (mostly for mobile platforms), .NET, artificial intelligence (in particular natural language processing), software engineering (in particular object-oriented design and analysis, aspect-oriented programming and component-based software engineering).

Comments and Discussions