Home   Cover Cover Cover Cover
 

Formatierung der Kommentare

Die Dateien doc.xsl und doc.css wurden von http://dotnet.jku.at/book/docview in das Verzeichnis kopiert, das die erzeugte Datei mit den Dokumentationskommentaren enthält. Als zweite Zeile dieser Datei wurde

  <?xml:stylesheet href="doc.xsl" type="text/xsl"?>

eingefügt. Also zum Beispiel:

A02.xml
<?xml version="1.0"?>
<?xml:stylesheet href="doc.xsl" type="text/xsl"?>
<doc>
    <assembly>
        <name>A01</name>
    </assembly>
    <members>
        <member name="T:Complex">
            <summary>Complex. This type implements complex numbers with the
            usual arithmetic operations.</summary>
        </member>
        <member name="M:Complex.#ctor(System.Double,System.Double)">
            <summary>Creates a new complex number.</summary>
            <param name="re">The real part of this number.</param>
            <param name="im">The imaginary part of this number.</param>
        </member>
        <member name="M:Complex.#ctor(System.Double)">
            <summary>Creates a new complex number with an imaginary part of 0.</summary>
            <param name="re">The real part of this number.</param>
        </member>
        <member name="M:Complex.ToString">
            <summary>Returns a string representation of this number in the form x + yi.
            This method is inherited from System.Object.</summary>
        </member>
        <member name="M:Complex.Equals(System.Object)">
            <summary>Checks the equality of two complex numbers.
            This method is inherited from System.Object.</summary>
            <param name="obj">The object to compare this number with.</param>
        </member>
        <member name="M:Complex.GetHashCode">
            <summary>Returns a hash code for this number.
            This method is inherited from System.Object</summary>
        </member>
        <member name="M:Complex.op_Addition(Complex,Complex)">
            <summary>Adds two complex numbers and returns a new complex number
            with the result</summary>
        </member>
        <member name="M:Complex.op_Subtraction(Complex,Complex)">
            <summary>Subtracts two complex numbers and returns a new complex number
            with the result</summary>
        </member>
        <member name="M:Complex.op_Multiply(Complex,Complex)">
            <summary>Multiplies two complex numbers and returns a new complex number
            with the result</summary>
        </member>
        <member name="M:Complex.op_Division(Complex,Complex)">
            <summary>Divides two complex numbers and returns a new complex number
            with the result</summary>
        </member>
        <member name="M:Complex.op_Equality(Complex,Complex)">
            <summary>Compares two complex numbers for equality.</summary>
        </member>
        <member name="M:Complex.op_Inequality(Complex,Complex)">
            <summary>Compares two complex numbers for inequality.</summary>
        </member>
        <member name="M:Complex.op_Explicit(Complex)~System.Double">
            <summary>Converts a complex number to a double value
            by returning the real part of it.</summary>
        </member>
        <member name="M:Complex.op_Implicit(System.Double)~Complex">
            <summary>Converts a double number to a complex number
            by setting the imaginary part to 0.</summary>
        </member>
        <member name="P:Complex.Re">
            <summary>Returns the real part of this number.</summary>
        </member>
        <member name="P:Complex.Im">
            <summary>Returns the imaginary part of this number.</summary>
        </member>
    </members>
</doc>

Sieht man sich diese Datei im Web-Browser an, so erscheint sie in formatierter Form (ausprobieren)