Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (40 sloc) 1.176 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<if condition="methods.Count() > 0">
<h3 class="section">${title}</h3>

<div id="${method.Name}" class="method" each="var method in methods">
<h4>
${Format(method.ReturnType)} <strong>${h(method.PrettyName)}</strong>(${OutputMethodParams(method)})
</h4>
<div class="content">
<comment content="method.Summary" />
<remarks content="method.Remarks" />

<var hasReturn="method.ReturnType.PrettyName != 'void'" />
<var hasParams="method.Parameters.Any(x => x.HasDocumentation)" />

<div class="parameters" if="hasParams">
<h5>Parameters</h5>
<dl>
<for each="var param in method.Parameters">
<dt>
<code>${Format(param.Reference)}</code> ${param.Name}
</dt>
<dd if="!param.Summary.IsEmpty">
<comment content="param.Summary" />
</dd>
</for>
</dl>
</div>

<div class="return" if="!method.Returns.IsEmpty">

<h5>Returns</h5>
<dl>
<dt>
<code>${Format(method.ReturnType)}</code>
</dt>
<dd>
<comment content="method.Returns" />
</dd>
</dl>
</div>

<value content="method.Value" />
<example content="method.Example" />
</div>
</div>
</if>
Something went wrong with that request. Please try again.