You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
672 B
ReStructuredText
31 lines
672 B
ReStructuredText
.. dn:{{ obj.ref_type }}:: {{ obj.name }}
|
|
|
|
{% if obj.summary %}
|
|
|
|
{{ obj.summary|indent(4) }}
|
|
|
|
{% endif %}
|
|
|
|
{%- for param in obj.parameters %}
|
|
|
|
{% if param.desc %}
|
|
:param {{ param.name }}: {{ param.desc|indent(8) }}
|
|
{% endif %}
|
|
{%- if param.type %}
|
|
:type {{ param.name }}: {{ param.type|indent(8) }}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
|
|
{%- if obj.returns.type %}
|
|
:rtype: {{ obj.returns.type|indent(8) }}
|
|
{%- endif %}
|
|
{%- if obj.returns.description %}
|
|
:return: {{ obj.returns.description|indent(8) }}
|
|
{%- endif %}
|
|
|
|
{% if obj.example %}
|
|
.. code-block:: csharp
|
|
|
|
{{ obj.example }}
|
|
{%- endif %}
|