-
Notifications
You must be signed in to change notification settings - Fork 16
Documentation Comments
<a href="url">text</a>
Represents a hyperlink to an external resource
-
href
is the URL pointing to the resource
<c>text</c>
The text you would like to indicate as code.
<code lang="language">content</code>
The text you would like to indicate as a code block
-
lang
is the programming language used in the code block (such asxml
orjson
)
<datatype path="xpath" type="datatype" />
Used within a <param>
tag to describe the data type of a parameter
-
path
(optional) represents the path to the attribute you would like to describe the type of relative to the final element described in the<param>
tag. -
type
describes the data type. It can be one of the following. If multiple data types are supported, separate them with a pipe (|
) such asinteger|enum[max]
.boolean
date
-
enum[{value}]
: a hard-coded list of pipe-delimited values (such asenum[edit|update]
) float
integer
-
item[{source}]
: ID reference to an item.source
is optional and specifies the name of the itemtype (such asitem[Part]
) -
itemname[{source}]
: keyed_name reference to an item.source
is optional and specifies the name of the itemtype (such asitemname[Part]
) -
list[{source}]
: single-value list.source
is the name of the list (such aslist[Item Behavior]
) -
mv_list[{source}]
: multi-value list.source
is the name of the list (such asmv_list[Item Behavior]
) string
<em>text</em>
Marks text with emphasis using italics
<example>description</example>
The <example>
tag lets you specify an example of how to use a method or other library member. This commonly involves using the <code>
tag.
<exception>description</exception>
The <exception>
tag lets you describe the exceptions that can be thrown.
<list type="bullet|number|table">
<listheader>
<term>term</term>
<description>description</description>
</listheader>
<item>
<term>term</term>
<description>description</description>
</item>
</list>
-
term
: A term to define, which will be defined indescription
. -
description
: Either an item in a bullet or numbered list or the definition of aterm
.
The <listheader>
block is used to define the heading row of either a table or definition list. When defining a table, you only need to supply an entry for term in the heading.
Each item in the list is specified with an <item>
block. When creating a definition list, you will need to specify both term and description. However, for a table, bulleted list, or numbered list, you only need to supply an entry for description.
A list or table can have as many <item>
blocks as needed.
<para>text</para>
The text of the paragraph. For use inside a tag, such as <summary>
, <remarks>
, or <returns>
, and lets you add structure to the text.
<param name="xpath">description</param>
Describes a parameter that must be passed into the method
-
xpath
describes structure of the parameter within the item tag using XPath. Examples:-
@attribute
: an attribute with the nameattribute
-
property
: a property/element with the nameproperty
-
Relationships/Item[@type='File'][@url][@id]
: One or more relationships of typeFile
with the attributesurl
andid
-
<remarks>description</remarks>
The <remarks>
tag is used to add information about a type, supplementing the information specified with <summary>
.
<see cref="member"/>
The <see>
tag lets you specify a link to another object from within text.
-
cref
takes the form of{itemtype}.{keyed_name}
such asitemtype.Part
ormethod.PE_ChangeItemTransition
.
<strong>text</strong>
Marks text with strong emphasis using bold