sphinx-autoapi/autoapi/templates/dotnet/struct.rst

39 lines
586 B
ReStructuredText
Raw Normal View History

{{ short_name }} {{ type.title()}}
{{ "=" * short_name|length }}{{ "=" * type|length }}=
.. dn:structure:: {{ name }}
Summary
-------
{{ summary }}
Inheritance Hierarchy
---------------------
{% for item in inheritance %}
* :ref:`{{ item.id }}`
{% endfor %}
Syntax
------
.. code-block:: csharp
{{ syntax }}
{% if item_map %}
{% for obj_type, obj_list in item_map.items() %}
{{ obj_type }}
{{ "-" * obj_type|length }}
{% for obj_item in obj_list %}
{% macro render() %}{{ obj_item.render() }}{% endmacro %}
{{ render()|indent(0) }}
{% endfor %}
{% endfor %}
{% endif %}