2015-04-23 20:31:03 +00:00
|
|
|
.. dn:{{ obj.ref_type }}:: {{ obj.name }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
{% if obj.summary %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% macro render() %}{{ summary }}{% endmacro %}
|
|
|
|
{{ render()|indent(4) }}
|
|
|
|
|
2015-04-14 02:10:19 +00:00
|
|
|
{% endif %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
{%- for param in obj.parameters %}
|
2015-04-14 02:10:19 +00:00
|
|
|
:param {{ param.name }}: {{ param.desc }}
|
2015-04-24 19:37:00 +00:00
|
|
|
{%- if param.type %}
|
2015-04-14 02:10:19 +00:00
|
|
|
:type {{ param.name }}: {{ param.type }}
|
2015-04-24 19:37:00 +00:00
|
|
|
{%- endif %}
|
2015-04-14 02:10:19 +00:00
|
|
|
{%- endfor %}
|
2015-04-23 20:31:03 +00:00
|
|
|
{%- if obj.returns %}
|
|
|
|
:rtype: {{ obj.returns.id }}
|
2015-04-15 07:10:50 +00:00
|
|
|
{%- endif %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-06-01 18:26:19 +00:00
|
|
|
{% if obj.example %}
|
2015-04-14 02:10:19 +00:00
|
|
|
.. code-block:: csharp
|
|
|
|
|
2015-04-24 19:37:00 +00:00
|
|
|
{{ obj.example }}
|
2015-04-25 01:32:16 +00:00
|
|
|
{%- endif %}
|